Update build-artifacts.yml

This commit is contained in:
Aurélien Hamy 2023-06-22 14:47:54 +02:00 committed by GitHub
parent 22d186f1f1
commit f7b9e7e3dc
1 changed files with 6 additions and 2 deletions
.github/workflows

View File

@ -35,12 +35,16 @@ jobs:
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Generate sha256
id: gen_sha256
run: echo ::set-output name=SHA256::$(sha256sum artifacts/x64/*.tar.xz | awk '{ print $1 }')
- name: create draft release
- name: create release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.get_version.outputs.VERSION }}
body: 'Update to version ${{ steps.get_version.outputs.VERSION }}'
body: 'Update to version ${{ steps.get_version.outputs.VERSION }}\ntar.xz sha256: ${{ steps.gen_sha256.outputs.SHA256 }}'
draft: false
files: |
deezer.flatpakref