diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec1428b..0506cbf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,20 +12,19 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - - name: Unshallow - run: git fetch --prune --unshallow + with: + fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: 1.20 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v4 with: + distribution: goreleaser version: latest - args: release --rm-dist - key: ${{ secrets.YOUR_PRIVATE_KEY }} + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}