From 0fb8f85482ec9783fd7cb87e01fdee24d3d9c4e9 Mon Sep 17 00:00:00 2001 From: Muhammad Luthfi Fahlevi Date: Tue, 27 Aug 2024 19:26:05 +0700 Subject: [PATCH] fix: update release.yml --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7257cfbc3..3157b6627 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,12 +12,12 @@ jobs: steps: # See https://goreleaser.com/ci/actions/#fetch-depthness - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - run: git fetch --force --tags - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: '^1.20' cache: true @@ -29,10 +29,10 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2.6.1 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser - version: latest - args: --rm-dist + version: 'v2.2.0' + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GO_RELEASER_TOKEN }}