datagen might actually be the bane of my existence on this earth #115
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: [ workflow_dispatch, push, pull_request ] | |
| jobs: | |
| build: | |
| if: "!contains(github.event.head_commit.message, '[skip]')" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v5 | |
| - name: setup java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: zulu | |
| java-version: 21 | |
| - name: setup gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| with: | |
| cache-encryption-key: ${{ SECRETS.GRADLE_ENCRYPTION_KEY }} | |
| - name: do the build | |
| run: ./gradlew assemble --stacktrace | |
| - name: upload artifacts | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: artifacts-v${{ github.run_number }} | |
| path: | | |
| build/libs/* |