diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3851e78..4a139e8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,19 +10,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.20 + uses: actions/setup-go@v3 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v4 with: + distribution: goreleaser version: latest - args: --parallelism 1 --clean --skip-validate + args: release --clean --parallelism 1 --skip-validate env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}