Fixed fission reactor inner blocks iteration #643
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 Mod Job | |
| on: | |
| push: | |
| branches: [ "1.20" ] | |
| pull_request: | |
| branches: [ "1.20" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Cache | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/.gradle/caches | |
| ~/.gradle/wrapper | |
| ./.gradle/loom-cache/remapped-mods | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/build.gradle', '**/gradle-wrapper.properties') }} | |
| - name: Change perms | |
| run: chmod +x ./gradlew | |
| - name: Test | |
| run: ./gradlew test | |
| - name: Build with Gradle | |
| run: ./gradlew build | |
| - name: Archive build | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Mod JARs | |
| path: build/libs |