Update enemy death state #126
This file contains 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: Canary Build | |
on: | |
push: | |
# set version string for build.gradle to use | |
env: | |
VERSION: canary-${{github.run_number}} | |
jobs: | |
build: | |
name: canary-build | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies. | |
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0 | |
- name: Build with Gradle Wrapper | |
working-directory: ./src | |
run: ./gradlew desktop:dist | |
- name: Upload build artifacts | |
continue-on-error: true | |
uses: actions/upload-artifact@v3 | |
with: | |
name: CanaryBuild-${{github.run_number}} | |
path: | | |
src/desktop/build/libs/desktop-canary-${{ github.run_number }}.jar |