This repository has been archived by the owner on Dec 29, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
1 parent
f33ab3e
commit f98d919
Showing
2 changed files
with
15 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,18 @@ jobs: | |
sudo snap install --classic snapcraft | ||
snapcraft --destructive-mode | ||
- name: Upload artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: guiscrcpy-snap | ||
path: '*.snap' | ||
|
||
|
||
- name: Publish to Snap Store | ||
run: | | ||
echo "${{ secrets.SNAP_DEPLOY_TOKEN }}" > token.txt | ||
mkdir -p ~/.snapcraft | ||
cat token.txt | base64 --decode --ignore-garbage > ~/.snapcraft/snapcraft.cfg | ||
# if: github.ref == 'refs/heads/master' | ||
snapcraft upload --release=edge *.snap | ||
|
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