Created
September 16, 2020 12:56
-
-
Save jmfayard/627f0b060be431b975ced6aeb556d473 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .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