Skip to content

Commit aed9a1a

Browse files
committed
Fix credentials handling on tags.yml as well.
1 parent 7d37635 commit aed9a1a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/tags.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ jobs:
3030
- name: Setup Snapcraft
3131
run: |
3232
sudo snap install snapcraft --classic
33-
echo "$SNAP_TOKEN" | snapcraft login --with -
34-
env:
35-
SNAP_TOKEN: ${{secrets.SNAP_TOKEN}}
3633
- name: Build amd64
3734
env:
3835
SNAPCRAFT_BUILD_ENVIRONMENT: host
@@ -46,3 +43,5 @@ jobs:
4643
- name: Upload
4744
run: |
4845
for f in *.snap; do snapcraft upload --release=stable $f; done
46+
env:
47+
SNAPCRAFT_STORE_CREDENTIALS: ${{secrets.SNAP_TOKEN}}

0 commit comments

Comments
 (0)