Skip to content

Commit

Permalink
Correctly set snap name to variable in promote.yaml (canonical#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
dashmage authored May 7, 2024
1 parent 96ded85 commit 1573158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/promote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: sudo snap install --classic snapcraft
- name: Get snap name
id: snap
run: awk '/^name:/ {print $2}' snap/snapcraft.yaml >> $GITHUB_OUTPUT
run: echo "name=$(awk '/^name:/ {print $2}' snap/snapcraft.yaml)" >> "$GITHUB_OUTPUT"
- name: Snapcraft promote snap
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
Expand Down

0 comments on commit 1573158

Please sign in to comment.