Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# .github/workflows/runOnGitHub.yml
# GitHub Actions documentation
# => https://docs.github.com/en/actions
name: runOnGitHub
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
gradle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: 8
# Execute Gradle commands in GitHub Actions workflows
# => https://github.com/marketplace/actions/gradle-command
- uses: eskatos/gradle-command-action@v1
with:
arguments: runOnGitHub
wrapper-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.