Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Erdragh committed May 28, 2024
1 parent 58b23c6 commit 20e6291
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
uses: gradle/actions/setup-gradle@v3

- name: Build with Gradle
run: ./gradlew build --stacktrace --info
if: ${{ !github.event.inputs.publish }}
run: ./gradlew build

- name: Publish with Gradle
if: ${{ github.event.inputs.publish }}
Expand All @@ -41,4 +42,4 @@ jobs:

MODRINTH_ID: ${{vars.MODRINTH_ID}}
CURSEFORGE_ID: ${{vars.CURSE_ID}}
run: ./gradlew publishMods
run: ./gradlew build publishMods

0 comments on commit 20e6291

Please sign in to comment.