Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyRin committed Jul 3, 2024
1 parent 563c7e5 commit 60cc1fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Check outputs
run: echo ${{ steps.vars.outputs.sha_short }}
- name: Build with Maven
run: mvn clean package -DSHA=${{ steps.vars.outputs.sha_short }} -Dbuild.number=${{ github.run_id }}
run: mvn clean package -DSHA=${{ steps.vars.outputs.sha_short }} -Dbuild.number=${{ github.run_number }}
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
Expand All @@ -43,8 +43,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: "${{ steps.vars.outputs.sha_short }}"
release_name: "Release ${{ steps.vars.outputs.sha_short }}"
tag_name: "v${{ github.run_number }}_${{ steps.vars.outputs.sha_short }}"
release_name: "Release v${{ github.run_number }}"
draft: false
prerelease: true
- name: Upload Release Asset - BungeeCord.jar
Expand Down

0 comments on commit 60cc1fc

Please sign in to comment.