From 1573158e3463c9dbed17ec89272825dd803132d7 Mon Sep 17 00:00:00 2001 From: Ashley James Date: Tue, 7 May 2024 18:43:47 +0530 Subject: [PATCH] Correctly set snap name to variable in promote.yaml (#405) --- .github/workflows/promote.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/promote.yaml b/.github/workflows/promote.yaml index 025bbe9d..3bd5bef0 100644 --- a/.github/workflows/promote.yaml +++ b/.github/workflows/promote.yaml @@ -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 }}