feat: 基于Tenacity添加新模块并优化UI #13
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: [ push, pull_request ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| - name: Setup JDK 25 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '25' | |
| distribution: 'zulu' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Make Gradle wrapper executable | |
| run: chmod +x ./gradlew | |
| - name: Build with Gradle | |
| run: ./gradlew build | |
| - name: Upload NeoForge Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: neoforge-artifacts | |
| path: neoforge/build/libs/*.jar | |
| if-no-files-found: warn | |
| - name: Upload Fabric Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: fabric-artifacts | |
| path: fabric/build/libs/*.jar | |
| if-no-files-found: warn |