Created
November 22, 2024 08:24
-
-
Save krzema12/f808ae5c0d185f03e1db30dcbbafcb11 to your computer and use it in GitHub Desktop.
An example workflow in YAML
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
name: Build | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: (Re)store build and cache dirs | |
uses: actions/cache@v4 | |
with: | |
path: | | |
build | |
.cache | |
key: build-cache-dirs | |
enableCrossOsArchive: true | |
- name: Check out the code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Build | |
run: ./gradlew build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment