Revert 90cb8745202a31dc47082da1f00fc58e8c4b3234 #18
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: | |
| pull_request: | |
| push: | |
| branches: [ master ] | |
| paths: | |
| - poke-sprites-v | |
| - src/** | |
| - build.gradle | |
| jobs: | |
| dist: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4.2.2 | |
| - name: Checkout submodules | |
| run: git submodule update --init --recursive | |
| - name: Setup Java 17 | |
| uses: actions/setup-java@v4.7.0 | |
| with: | |
| java-version: 17 | |
| distribution: temurin | |
| - name: Make gradlew executable | |
| run: chmod +x ./gradlew | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v3 | |
| - name: Run Gradle dist | |
| run: ./gradlew dist | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4.6.2 | |
| with: | |
| name: entralinked | |
| path: build/libs/entralinked.jar | |
| retention-days: 7 |