Skip to content

Commit

Permalink
fix(ci): apt-get snapcraft missing in ubuntu 24 github runner image -…
Browse files Browse the repository at this point in the history
… we need use snap to install it now
  • Loading branch information
flawiddsouza committed Oct 15, 2024
1 parent 2eea2f3 commit 49e6054
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ jobs:
npm ci
npm run build-snap
- name: Install Snapcraft
run: sudo apt-get install snapd snapcraft
run: |
sudo apt-get install snapd
sudo snap install snapcraft --classic
- name: Set up Snap Store credentials & publish snap package
run: |
echo "${{ secrets.SNAP_STORE_TOKEN }}" | base64 -d > credentials.snapcraft
Expand Down

0 comments on commit 49e6054

Please sign in to comment.