dependency: Update dependency xyz.jpenilla:run-task to v3.0.2 #1209
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: Java CI with Gradle | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Cache Gradle | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.gradle/caches | |
| key: >- | |
| ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', | |
| '**/gradle-wrapper.properties') }} | |
| restore-keys: '${{ runner.os }}-gradle-' | |
| - name: Make gradlew executable | |
| run: chmod +x gradlew | |
| - name: Build with Gradle | |
| uses: gradle/gradle-build-action@093dfe9d598ec5a42246855d09b49dc76803c005 | |
| with: | |
| arguments: shadowJar | |
| - name: Upload a Build Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: 'Successfully build EternalCombat' | |
| path: eternalcombat-plugin/build/libs/*.jar |