Push Updated Core, Survival Resource and update. #600
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: Crafting Dead | |
| on: | |
| push: | |
| branches: [ 1.18.x ] | |
| pull_request: | |
| branches: [ 1.18.x ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 17 | |
| - name: Cache Gradle packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.gradle | |
| ./.gradle | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
| restore-keys: ${{ runner.os }}-gradle | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Build with Gradle | |
| run: | | |
| ./gradlew crafting-dead-core:build | |
| ./gradlew crafting-dead-survival:build | |
| ./gradlew crafting-dead-decoration:build | |
| ./gradlew crafting-dead-worldguard:jar | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: crafting-dead | |
| path: | | |
| ./crafting-dead-core/build/libs/*.jar | |
| ./crafting-dead-survival/build/libs/*.jar | |
| ./crafting-dead-decoration/build/libs/*.jar | |
| ./crafting-dead-worldguard/build/libs/*.jar |