Skip to content

Commit

Permalink
fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
screret committed Sep 9, 2024
1 parent a9b7743 commit a675167
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/auto_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: auto-build
on:
push:
branches:
- '1.20.1'
- '1.21'

jobs:
build:
Expand All @@ -18,7 +18,7 @@ jobs:

- uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'adopt'

- name: Validate Gradle wrapper
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Get Version
id: var
run: |
MESSAGE=$(ls build/libs/* | grep sources.jar -v | grep shadow.jar -v | awk -F 'gcyr-forge-|.jar' '{print $2}')
MESSAGE=$(ls build/libs/* | grep sources.jar -v | grep shadow.jar -v | awk -F 'gcyr-|.jar' '{print $2}')
echo version=$MESSAGE >> $GITHUB_OUTPUT
- name: release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'adopt'

- name: Validate Gradle wrapper
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
gtceu{modrinth:7tG215v7}{curseforge:890405}
game-version-filter: none
java: |
17
21
retry-attempts: 2
retry-delay: 10000
fail-mode: fail
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ repositories {


base {
archivesName = mod_id
archivesName = "${project.name}-${libs.versions.minecraft.get()}"
}

// Mojang ships Java 21 to end users starting in 1.20.5, so mods should target Java 21.
Expand Down

0 comments on commit a675167

Please sign in to comment.