From 1d0f112374071060bb55612f947192cbad3c3be6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Hamy?= Date: Mon, 15 Nov 2021 18:25:53 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6a06973..8da1ba5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,18 +16,6 @@ jobs: - uses: actions/setup-node@v2 with: node-version: 14 - - - name: create draft release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - body: Show changes in this release - draft: true - prerelease: false - name: install_deps run: make install_deps @@ -41,3 +29,17 @@ jobs: run: make build_appimage - name: build_7z run: make build_7z + + - name: create draft release + uses: softprops/action-gh-release@v1 + with: + tag_name: ${{ github.ref }} + release_name: ${{ github.ref }} + body: Show changes in this release + draft: true + files: | + artifacts/x64/*.deb + artifacts/x64/*.rpm + artifacts/x64/*.snap + artifacts/x64/*.AppImage + artifacts/x64/*.7z