Skip to content

Commit 2601476

Browse files
committed
fix: make sure snapd and snapcraft gets installed in the Linux runner
1 parent 8cd3e03 commit 2601476

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

+8
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ jobs:
2727
- name: Install Dependencies
2828
run: npm install
2929

30+
- name: Install snapd
31+
if: runner.os == 'ubuntu-latest'
32+
run: sudo apt-get install -y snapd
33+
34+
- name: Install snapcraft
35+
if: runner.os == 'ubuntu-latest'
36+
run: sudo snap install snapcraft --classic
37+
3038
- name: Build for Linux
3139
if: matrix.os == 'ubuntu-latest'
3240
run: npm run build:linux

0 commit comments

Comments
 (0)