Skip to content

Commit 8c92ea2

Browse files
authored
Merge pull request fluxcd#3153 from dholbach/fix-snapcraft-action
Fix use of 'lxd' and 'snapcraft' in GH action
2 parents 676be9f + d446863 commit 8c92ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/fluxctl-snap.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
use_lxd: true
2121

2222
- name: Run Snapcraft build
23-
run: sudo snapcraft --use-lxd
23+
run: sg lxd -c 'snapcraft --use-lxd'
2424

2525
- name: Upload to Snapcraft store (edge channel for revs in master)
2626
if: ${{ ! startsWith(github.event.ref, 'refs/tags') }}

0 commit comments

Comments
 (0)