Skip to content

Commit

Permalink
goreleaser fix
Browse files Browse the repository at this point in the history
  • Loading branch information
incu6us committed Aug 16, 2023
1 parent 4df605b commit 40d0f7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
goreleaser:
runs-on: ubuntu-latest
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 40d0f7f

Please sign in to comment.