feat: use new set-output syntax

This commit is contained in:
ItsNiceCraft 2024-01-08 16:00:01 +01:00
parent 7b600e41fa
commit bd8f383b58
No known key found for this signature in database
GPG Key ID: BCD3B0B1350A413B

View File

@ -30,9 +30,9 @@ jobs:
rm -rf *.json *.json *.yaml *.tar.gz
- name: Get short SHA
id: short-sha
run: echo "::set-output name=sha::$(git rev-parse --short HEAD)"
run: echo "SHA=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: wfc-server-${{ steps.short-sha.outputs.sha }}
name: wfc-server-${{ steps.short-sha.outputs.SHA }}
path: ./dist/*/*