From a1f209461e8bf28c844935dde0116f65856b8347 Mon Sep 17 00:00:00 2001 From: Billy Zha Date: Thu, 14 Sep 2023 07:31:22 +0000 Subject: [PATCH] udpate action Signed-off-by: Billy Zha --- .github/workflows/release-snap.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-snap.yml b/.github/workflows/release-snap.yml index deb05697a..748683697 100644 --- a/.github/workflows/release-snap.yml +++ b/.github/workflows/release-snap.yml @@ -25,7 +25,6 @@ jobs: runs-on: ubuntu-latest permissions: contents: read - packages: write steps: - name: Checkout uses: actions/checkout@v3 @@ -40,12 +39,10 @@ jobs: echo "version=${VERSION}" >> $GITHUB_OUTPUT - name: make snapcraft run: | - sed -i 's/{VERSION}/${{ steps.version.outputs.version }}/g' .github/workflows/snapcraft - cat ./.github/workflows/snapcraft + sed -i 's/{VERSION}/${{ steps.version.outputs.version }}/g' snapcraft.yaml + cat snapcraft.yaml - uses: snapcore/action-build@v1 id: build - with: - path: .github/workflows/snapcraft - uses: snapcore/action-publish@v1 env: SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}