mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
chore: fix the commit sha used for the published version
(cherry picked from commit 939c5231f6
)
This commit is contained in:
parent
fad5537017
commit
453194ae43
4
.github/workflows/pr.yml
vendored
4
.github/workflows/pr.yml
vendored
@ -48,7 +48,9 @@ jobs:
|
||||
distribution: 'temurin'
|
||||
- name: Set outputs
|
||||
id: vars
|
||||
run: echo "short_commit_hash=${GITHUB_SHA::10}" >> $GITHUB_OUTPUT
|
||||
run: |
|
||||
export ACTUAL=${{ github.event.pull_request.head.sha }}
|
||||
echo "short_commit_hash=${ACTUAL::10}" >> $GITHUB_OUTPUT
|
||||
- name: Publish to Sonatype
|
||||
env:
|
||||
MINESTOM_VERSION: ${{ github.head_ref }}-${{ steps.vars.outputs.short_commit_hash }}
|
||||
|
Loading…
Reference in New Issue
Block a user