From 3bee63c96a00c4b3f7d2a16b585862ba8566c721 Mon Sep 17 00:00:00 2001 From: Enes Hecan Date: Sun, 29 Jan 2023 16:08:51 +0100 Subject: [PATCH] Release Recipe: Fix artifacts dir of debian --- .github/workflows/release.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79dd516..4c130c0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,6 +37,7 @@ jobs: env: DEB_BUILD_OPTIONS: noautodbgsym with: + artifacts-dir: "." buildpackage-opts: -uc -us -ui - name: Build Snap Package @@ -51,14 +52,6 @@ jobs: env: UPDATE_INFO: gh-releases-zsync|eneshecan|whatsapp-for-linux|${{ env.RELEASE_VERSION }}|*x86_64.AppImage.zsync - - name: Publish Snap to Store - id: snapcraft-publish - uses: snapcore/action-publish@v1 - with: - store_login: ${{ secrets.SNAP_STORE_LOGIN }} - snap: ${{ steps.snapcraft.outputs.snap }} - release: stable - - name: Push Tag id: push-tag uses: anothrNick/github-tag-action@1.46.0 @@ -94,7 +87,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create-release.outputs.upload_url }} - asset_path: "../whatsapp-for-linux_${{ env.RELEASE_VERSION }}_amd64.deb" + asset_path: "whatsapp-for-linux_${{ env.RELEASE_VERSION }}_amd64.deb" asset_name: "whatsapp-for-linux_${{ env.RELEASE_VERSION }}_amd64.deb" asset_content_type: application/deb @@ -116,6 +109,14 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create-release.outputs.upload_url }} - asset_path: "whatsapp-for-linux-${{ env.RELEASE_VERSION}}-x86_64.AppImage" + asset_path: "whatsapp-for-linux-${{ env.RELEASE_VERSION }}-x86_64.AppImage" asset_name: "whatsapp-for-linux-${{ env.RELEASE_VERSION }}-x86_64.AppImage" asset_content_type: application/appimage + + - name: Publish Snap to Store + id: snapcraft-publish + uses: snapcore/action-publish@v1 + with: + store_login: ${{ secrets.SNAP_STORE_LOGIN }} + snap: ${{ steps.snapcraft.outputs.snap }} + release: stable