Skip to content

Commit 5adf3ff

Browse files
committed
fix: provide full snap name to action-publish
1 parent e29ddc6 commit 5adf3ff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,13 @@ jobs:
5555
node-version: 24.12.0
5656
- run: npm install
5757
- run: npm run build-snap
58+
- name: Find snap file
59+
id: find_snap
60+
run: echo "snap_file=$(find dist -name '*.snap' -type f)" >> $GITHUB_OUTPUT
5861
- name: Publish to Snap Store
5962
uses: canonical/action-publish@v1
6063
env:
6164
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
6265
with:
63-
snap: dist/tidal-hifi_*.snap
66+
snap: ${{ steps.find_snap.outputs.snap_file }}
6467
release: stable

0 commit comments

Comments
 (0)