Update build-artifacts.yml

This commit is contained in:
Aurélien Hamy 2022-02-01 00:37:23 +01:00 committed by GitHub
parent 2fd6d7b4f5
commit 2c235de8a6

View File

@ -30,12 +30,16 @@ jobs:
- name: build_7z - name: build_7z
run: make build_7z run: make build_7z
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: create draft release - name: create draft release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
tag_name: ${{ github.ref }} tag_name: ${{ steps.get_version.outputs.VERSION }}
body: '' body: 'Update to version ${{ steps.get_version.outputs.VERSION }}'
draft: true draft: false
files: | files: |
deezer.flatpakref deezer.flatpakref
artifacts/x64/*.deb artifacts/x64/*.deb