File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88
99 steps :
10- - uses : actions/checkout@v4
10+ - uses : actions/checkout@v6
1111 - name : set up JDK 25
12- uses : actions/setup-java@v4
12+ uses : actions/setup-java@v5
1313 with :
1414 distribution : ' temurin'
1515 java-version : ' 25'
1818 - name : build with gradle
1919 run : ./gradlew build
2020 - name : capture build artifacts
21- uses : actions/upload-artifact@v4
21+ uses : actions/upload-artifact@v7
2222 with :
2323 name : artifacts
2424 path : build/libs/
Original file line number Diff line number Diff line change @@ -3,19 +3,21 @@ name: release
33on : [workflow_dispatch]
44
55jobs :
6- build :
6+ release :
77 runs-on : ubuntu-latest
88
99 steps :
10- - uses : actions/checkout@v4
10+ - name : checkout repository
11+ uses : actions/checkout@v6
1112 - name : set up JDK 25
12- uses : actions/setup-java@v4
13+ uses : actions/setup-java@v5
1314 with :
1415 distribution : ' temurin'
1516 java-version : ' 25'
1617 - name : grant execute permission for gradlew
1718 run : chmod +x gradlew
18- - run : ./gradlew publishMods
19+ - name : publish
20+ run : ./gradlew publishMods
1921 env :
2022 MODRINTH_TOKEN : ${{ secrets.ERISTHEA_MODRINTH_TOKEN }}
2123 CURSEFORGE_TOKEN : ${{ secrets.ERISTHEA_CURSEFORGE_TOKEN }}
You can’t perform that action at this time.
0 commit comments