Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
RSwoop committed Aug 1, 2024
1 parent 4728447 commit 3b339ab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/fg-2.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
with:
distribution: 'zulu'
java-version: ${{ inputs.java-version }}
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Setup Gradle
uses: ./gradle/actions/setup-gradle@v3
with:
gradle-version: 4.10.3
- name: Run Gradle build
working-directory: forge/fg-2.1
run: gradlew :${{ inputs.version }}:build
run: gradle :${{ inputs.version }}:build
- uses: actions/upload-artifact@v4
with:
name: Minegasm-${{ inputs.version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/fg-6.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
with:
distribution: 'zulu'
java-version: ${{ inputs.java-version }}
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 8.1.1
- name: Run Gradle build
working-directory: forge/fg-6.0
run: ./gradlew :${{ inputs.version }}:build
run: gradle :${{ inputs.version }}:build
- uses: actions/upload-artifact@v4
with:
name: Minegasm-${{ inputs.version }}
Expand Down
2 changes: 1 addition & 1 deletion forge/fg-6.0/1.17.1/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ base {
archivesName = mod_id
}

java.toolchain.languageVersion = JavaLanguageVersion.of(16)
java.toolchain.languageVersion = JavaLanguageVersion.of(17)

println "Java: ${System.getProperty 'java.version'}, JVM: ${System.getProperty 'java.vm.version'} (${System.getProperty 'java.vendor'}), Arch: ${System.getProperty 'os.arch'}"
minecraft {
Expand Down

0 comments on commit 3b339ab

Please sign in to comment.