diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f440d37..8b9be43 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 691f653..c013ee9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,7 +18,7 @@ jobs: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: 1.21 @@ -26,7 +26,7 @@ jobs: uses: goreleaser/goreleaser-action@v5 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -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" \