diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 63ac7d8..238bcbf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,7 @@ on: jobs: goreleaser: runs-on: ubuntu-latest + SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} steps: - name: Checkout uses: actions/checkout@v2 @@ -26,9 +27,7 @@ jobs: echo GO_VERSION=$(go version | awk '{print $3;}') >> $GITHUB_ENV - name: Login to Snapcraft - uses: samuelmeuli/action-snapcraft@v1 - with: - snapcraft_token: ${{ secrets.SNAPCRAFT_TOKEN }} + uses: samuelmeuli/action-snapcraft@v2 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v1 diff --git a/.goreleaser.yml b/.goreleaser.yml index c20ae60..f942149 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -58,7 +58,7 @@ release: brews: - name: goimports-reviser - tap: + repository: owner: incu6us name: homebrew-tap url_template: "https://github.com/{{ .Env.PROJECT_USER }}/{{ .ProjectName }}/releases/download/{{ .Tag }}/{{ .ArtifactName }}"