This commit is contained in:
olebeck 2022-08-11 22:37:15 +02:00
parent d17ca68f02
commit b8e971ed4a

View File

@ -14,7 +14,13 @@ jobs:
check-latest: true check-latest: true
cache: true cache: true
- run: make - name: Retrieve version
run: |
echo "::set-output name=TAG_NAME::$(git describe --tags)"
id: version
- name: build
run: make
- uses: "marvinpinto/action-automatic-releases@latest" - uses: "marvinpinto/action-automatic-releases@latest"
with: with:
@ -23,6 +29,6 @@ jobs:
prerelease: true prerelease: true
title: "Development Build" title: "Development Build"
files: | files: |
bedrocktool_${{ GITHUB_REF:10 }}.exe bedrocktool_${{ steps.version.outputs.TAG_NAME }}.exe
bedrocktool_${{ GITHUB_REF:10 }}-linux bedrocktool_${{ steps.version.outputs.TAG_NAME }}-linux
bedrocktool_${{ GITHUB_REF:10 }}-mac bedrocktool_${{ steps.version.outputs.TAG_NAME }}-mac