Skip to content

Commit 9591f5b

Browse files
committed
fix snapcraft
1 parent f8ca816 commit 9591f5b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/snapcraft-release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v3
11+
- name: snapcraft setup
12+
run: |
13+
cp -r "${GITHUB_WORKSPACE}packages/snap" "${GITHUB_WORKSPACE}"
14+
sed -i 's#source: ../../#source: \.#g' "${GITHUB_WORKSPACE}/snap/snapcraft.yaml"
1115
- uses: snapcore/action-build@v1
1216
id: build
13-
with:
14-
path: packages
1517
- uses: snapcore/action-publish@v1
1618
env:
1719
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_LOGIN }}

0 commit comments

Comments
 (0)