File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -51,22 +51,19 @@ jobs:
5151 build/neoForm
5252 ~/.gradle
5353 .gradle
54- - name : Validate Gradle Wrapper
55- uses : gradle/actions/wrapper-validation@v3
5654 - name : Setup Java
5755 uses : actions/setup-java@v4
5856 with :
5957 java-version : 21
6058 distribution : ' temurin'
6159 settings-path : ${{ github.workspace }} # location for the settings.xml file
6260
63- - name : Setup Gradle
64- uses : gradle/actions/setup- gradle@v3
61+ - name : Build with Gradle
62+ uses : gradle/gradle-build-action @v3
6563 with :
64+ arguments : build outputChangelog
65+ gradle-version : wrapper
6666 cache-read-only : false
67-
68- - name : Build with Gradle
69- run : ./gradlew build outputChangelog
7067 env :
7168 BUILD_NUMBER : ${{ github.run_number }}
7269 GIT_COMMIT : ${{ github.sha }}
8986 target_commitish : ${{ github.sha }}
9087
9188 - name : Publish
92- run : ./gradlew curseforge modrinth publish
89+ uses : gradle/gradle-build-action@v3
90+ with :
91+ arguments : curseforge modrinth publish
92+ gradle-version : wrapper
93+ cache-read-only : false
9394 env :
9495 CURSEFORGE_KEY : ${{ secrets.CURSEFORGE_KEY }}
9596 MODRINTH_TOKEN : ${{ secrets.MODRINTH_TOKEN }}
You can’t perform that action at this time.
0 commit comments