forked from xeco23/WasIstLos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
603 additions
and
338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
|
||
- name: Lint clang-format | ||
uses: DoozyX/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
- name: Install Dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt -y install build-essential intltool cmake pkg-config libgtkmm-3.0-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev debhelper zsync squashfs-tools | ||
sudo apt -y install build-essential intltool cmake pkg-config libgtkmm-3.0-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev libcanberra-dev debhelper zsync squashfs-tools | ||
- name: Build & Install | ||
run: | | ||
|
@@ -33,7 +33,12 @@ jobs: | |
- name: Build Debian Package | ||
id: dpkg-buildpackage | ||
run: dpkg-buildpackage -uc -us -ui | ||
uses: jtdor/build-deb-action@v1 | ||
env: | ||
DEB_BUILD_OPTIONS: noautodbgsym | ||
with: | ||
artifacts-dir: "." | ||
buildpackage-opts: -uc -us -ui | ||
|
||
- name: Build Snap Package | ||
id: snapcraft | ||
|
@@ -47,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] | ||
|
@@ -90,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 | ||
|
||
|
@@ -112,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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.