mirror of https://github.com/Minestom/Minestom.git
fix: update snapshot-deploy ci job
(cherry picked from commit 8715f4305d
)
This commit is contained in:
parent
c65a921332
commit
40a8f9a2da
|
@ -25,7 +25,8 @@ jobs:
|
||||||
echo "short_commit_hash=${GITHUB_SHA::10}" >> $GITHUB_OUTPUT
|
echo "short_commit_hash=${GITHUB_SHA::10}" >> $GITHUB_OUTPUT
|
||||||
- name: Publish to Sonatype
|
- name: Publish to Sonatype
|
||||||
env:
|
env:
|
||||||
SHORT_COMMIT_HASH: ${{ steps.vars.outputs.short_commit_hash }}
|
MINESTOM_VERSION: ${{ steps.vars.outputs.short_commit_hash }}
|
||||||
|
MINESTOM_CHANNEL: release
|
||||||
run: |
|
run: |
|
||||||
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
|
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
|
||||||
echo "Version: ${SHORT_COMMIT_HASH}" >> $GITHUB_STEP_SUMMARY
|
echo "Version: ${SHORT_COMMIT_HASH}" >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
Loading…
Reference in New Issue