Skip to content

Commit

Permalink
Build before creating release
Browse files Browse the repository at this point in the history
  • Loading branch information
2No2Name committed Feb 4, 2025
1 parent 74c842c commit c731577
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
- name: make gradle wrapper executable
run: chmod +x ./gradlew

- name: Gradle Release Build
env:
RELEASE_TYPE: ${{ inputs.releaseType }}
run: ./gradlew build

- name: Set environment variables
run: |
echo "MINECRAFT_VERSION=$(./gradlew -q printMinecraftVersion)" >> $GITHUB_ENV
Expand Down Expand Up @@ -75,7 +80,6 @@ jobs:
--prerelease=${{ inputs.releaseType != 'stable' }} \
build/libs/*.jar
- name: Build & Publish
env:
RELEASE_TYPE: ${{ inputs.releaseType }}
Expand Down

0 comments on commit c731577

Please sign in to comment.