From e0c9690cedac995bb6bbe5f362c7afc562a69642 Mon Sep 17 00:00:00 2001 From: Aptimex Date: Fri, 2 Aug 2024 10:49:10 -0600 Subject: [PATCH] update gorelease workflow to latest format --- .github/workflows/goreleaser.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 69714be..ad03792 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -10,17 +10,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: "1.20" cache: true cache-dependency-path: src/go.sum - name: Check GoReleaser Config - uses: goreleaser/goreleaser-action@v3 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser version: latest @@ -29,12 +29,12 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v3 + uses: goreleaser/goreleaser-action@v6 with: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser version: latest - args: release --rm-dist + args: release --clean workdir: ./src env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}