Skip to content

Commit

Permalink
build: fix publishing scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
bconlon1 committed Mar 20, 2024
1 parent bbc144c commit 5bec0b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-curseforge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
with:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2.4.2
- uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.3
- name: Publish build
env:
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
run: |
if [ "${{ github.event.sender.login }}" = "OscarPayn" ] || [ "${{ github.event.sender.login }}" = "bconlon1" ]; then
gradle build
gradle curseforge
chmod +x ./gradlew
./gradlew curseforge
fi
6 changes: 3 additions & 3 deletions .github/workflows/publish-modrinth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
with:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2.4.2
- uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.3
- name: Publish build
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
run: |
if [ "${{ github.event.sender.login }}" = "OscarPayn" ] || [ "${{ github.event.sender.login }}" = "bconlon1" ]; then
gradle build
gradle modrinth
chmod +x ./gradlew
./gradlew modrinth
fi

0 comments on commit 5bec0b2

Please sign in to comment.