From 54b8d3a18b6b0a8419753d3039fd206a84bc519a Mon Sep 17 00:00:00 2001 From: 4gray <4gray@users.noreply.github.com> Date: Sun, 14 Dec 2025 13:03:13 +0100 Subject: [PATCH] ci: move env variable to step header --- .github/workflows/build-and-make.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-make.yaml b/.github/workflows/build-and-make.yaml index a5e09e23c..e5438965c 100644 --- a/.github/workflows/build-and-make.yaml +++ b/.github/workflows/build-and-make.yaml @@ -176,6 +176,8 @@ jobs: needs: build runs-on: ubuntu-latest # if: startsWith(github.ref, 'refs/tags/v') # Only publish on version tags + env: + SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.snapcraft_token }} steps: - name: Download snap artifact @@ -186,9 +188,7 @@ jobs: - name: Setup Snapcraft uses: samuelmeuli/action-snapcraft@v3 - env: - SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.snapcraft_token }} - + - name: Publish all snaps to edge channel run: | # Find and publish all snap files