From 7d47222951d21e6af5a68bed37a00f22cb0b9da8 Mon Sep 17 00:00:00 2001 From: Guilhem Lettron Date: Mon, 11 Mar 2024 10:49:16 +0100 Subject: [PATCH] fix: use action-snapcraft@v2 --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 18114d9..d1871f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,8 @@ jobs: release: name: Goreleaser runs-on: ubuntu-latest + env: + SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} steps: - name: Set up Go uses: actions/setup-go@v5 @@ -17,10 +19,11 @@ jobs: check-latest: true - name: Checkout uses: actions/checkout@v1 + + # snapcraft export-login --snaps bump - - name: Snapcraft Action - uses: samuelmeuli/action-snapcraft@v1.2.0 - with: - snapcraft_token: ${{ secrets.SNAPCRAFT_TOKEN }} + uses: samuelmeuli/action-snapcraft@v2 + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: