Skip to content

Commit 2cc92bd

Browse files
authored
fix: snap path in config
1 parent 01f61a1 commit 2cc92bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ jobs:
139139
140140
build-snap:
141141
runs-on: ${{ matrix.os }}
142+
if: github.repository == 'tldr-pages/tldr-python-client' && github.ref == 'refs/heads/main'
142143
needs: ['build-linux']
143144

144145
strategy:
@@ -152,7 +153,7 @@ jobs:
152153
id: snapcraft-build
153154
with:
154155
snapcraft-args: "-v"
155-
path: "/snap/test-snapcraft.yaml"
156+
path: "snap/test-snapcraft.yaml"
156157

157158
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
158159
with:

0 commit comments

Comments
 (0)