fix: re-add missing step in actions

This commit is contained in:
mworzala 2025-01-26 08:41:18 -05:00
parent f3e7d55610
commit 32735340d7
No known key found for this signature in database
GPG Key ID: B148F922E64797C7
2 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,8 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- id: vars
run: echo "short_commit_hash=${GITHUB_SHA::10}" >> $GITHUB_OUTPUT
- name: Publish Artifacts
env:
MINESTOM_VERSION: ${{ github.head_ref }}-${{ steps.vars.outputs.short_commit_hash }}

View File

@ -25,6 +25,8 @@ jobs:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- id: vars
run: echo "short_commit_hash=${GITHUB_SHA::10}" >> $GITHUB_OUTPUT
- name: Publish to Central via Build
if: github.repository_owner == 'Minestom'
run: |