Skip to content

Commit

Permalink
chore: update goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
c4po committed Apr 2, 2024
1 parent e6c50ed commit de28df7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.21

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.21

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -36,7 +36,7 @@ jobs:
run: |
export MESSAGE="chore: regenerate homebrew formula"
export SHA=$(git rev-parse --verify origin/main:Formula/terraform-demux.rb)
export CONTENT=$(base64 -i dist/terraform-demux.rb)
export CONTENT=$(base64 -i dist/homebrew/Formula/terraform-demux.rb)
gh api --method PUT /repos/:owner/:repo/contents/Formula/terraform-demux.rb \
--field message="$MESSAGE" \
--field content="$CONTENT" \
Expand Down

0 comments on commit de28df7

Please sign in to comment.