From 3a543ac8e4c23f96d088ff2d7b8c44cac1c405bf Mon Sep 17 00:00:00 2001 From: JP Meijers Date: Wed, 5 Jun 2024 11:23:43 +0200 Subject: [PATCH] Update snap publish action to use env var for secret --- .github/workflows/build-and-test-snap.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test-snap.yml b/.github/workflows/build-and-test-snap.yml index a22fbbe..0b02666 100644 --- a/.github/workflows/build-and-test-snap.yml +++ b/.github/workflows/build-and-test-snap.yml @@ -133,7 +133,8 @@ jobs: cat $FILENAME - uses: snapcore/action-publish@v1 + env: + SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }} with: - store_login: ${{ secrets.STORE_LOGIN }} snap: ${{ needs.build.outputs.snap }} release: edge/ieng-1057