Skip to content

Commit

Permalink
Release Recipe: Fix artifacts dir of debian
Browse files Browse the repository at this point in the history
  • Loading branch information
xeco23 committed Jan 29, 2023
1 parent d0b3ecb commit 3bee63c
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
env:
DEB_BUILD_OPTIONS: noautodbgsym
with:
artifacts-dir: "."
buildpackage-opts: -uc -us -ui

- name: Build Snap Package
Expand All @@ -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/[email protected]
Expand Down Expand Up @@ -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

Expand All @@ -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

0 comments on commit 3bee63c

Please sign in to comment.