Skip to content

Commit

Permalink
Move build step before tag & milestone
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Nov 13, 2024
1 parent 005c31f commit 9a009bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Build
run: ./gradlew build --stacktrace --warning-mode=fail

- name: Create and push tag
run: |
MOD_VERSION=$(grep "mod_version" gradle.properties | cut -d'=' -f2 | tr -d ' ')
Expand All @@ -59,9 +62,6 @@ jobs:
if: ${{ inputs.close_milestone }}
run: ./gradlew closeMilestone --stacktrace

- name: Build
run: ./gradlew build --stacktrace

- name: Upload backups
if: ${{ inputs.upload_backups }}
run: ./gradlew uploadBackups --stacktrace
Expand Down

0 comments on commit 9a009bc

Please sign in to comment.