Skip to content

Commit

Permalink
build: disable actions publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
ishland committed Jul 19, 2023
1 parent 374463e commit 5b6c046
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
java-package: jdk
- name: build
run: ./gradlew build
- name: upload to modrinth and curseforge
run: ./gradlew modrinth curseforge
if: github.ref == 'refs/heads/ver/1.19.4'
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_UPLOAD_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_API_TOKEN }}
GITHUB_EVENT_RAW_PATH: ${{ github.event_path }}
continue-on-error: true
# - name: upload to modrinth and curseforge
# run: ./gradlew modrinth curseforge
# if: github.ref == 'refs/heads/ver/1.19.4'
# env:
# MODRINTH_TOKEN: ${{ secrets.MODRINTH_UPLOAD_TOKEN }}
# CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_API_TOKEN }}
# GITHUB_EVENT_RAW_PATH: ${{ github.event_path }}
# continue-on-error: true
- name: capture build artifacts
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 5b6c046

Please sign in to comment.