Skip to content

Commit 1fa0a08

Browse files
committed
build: more publishing tweaks
1 parent 8898c7b commit 1fa0a08

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/publish-curseforge.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
java-version: 21
1515
- uses: gradle/gradle-build-action@v2.4.2
1616
with:
17-
gradle-version: wrapper
17+
gradle-version: 8.8
1818
- name: Publish build
1919
env:
2020
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
2121
run: |
2222
if [ "${{ github.event.sender.login }}" = "OscarPayn" ] || [ "${{ github.event.sender.login }}" = "bconlon1" ]; then
23-
gradle build
24-
gradle curseforge
23+
chmod +x ./gradlew
24+
./gradlew curseforge
2525
fi

.github/workflows/publish-modrinth.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
java-version: 21
1515
- uses: gradle/gradle-build-action@v2.4.2
1616
with:
17-
gradle-version: wrapper
17+
gradle-version: 8.8
1818
- name: Publish build
1919
env:
2020
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
2121
run: |
2222
if [ "${{ github.event.sender.login }}" = "OscarPayn" ] || [ "${{ github.event.sender.login }}" = "bconlon1" ]; then
23-
gradle build
24-
gradle modrinth
23+
chmod +x ./gradlew
24+
./gradlew modrinth
2525
fi

0 commit comments

Comments
 (0)