Merge pull request #6 from m3dev/feat/animation #47
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
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: torisetsu | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
distribution: 'adopt' | |
- name: grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: build | |
run: | | |
./gradlew build | |
- name: Check file existence | |
id: check_files | |
uses: andstor/file-existence-action@v3 | |
with: | |
files: "torisetsu/build/dist/js/productionExecutable/index.html" | |
- name: File exists | |
if: steps.check_files.outputs.files_exists == 'true' | |
run: echo All files exists! |