From 447cf342c8c76251b8aca6acb13f4c8c5e703b8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=91=E7=A5=8E?= Date: Wed, 22 Nov 2023 17:00:55 +0800 Subject: [PATCH] chores: remove goreleaser MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 佑祎 --- .github/workflows/release.yaml | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 434ce2f6..a2de7b8c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -55,29 +55,4 @@ jobs: ${{ env.ALIYUN_BJ_REG }}/${{ github.repository_owner }}/${{ matrix.target }}:${{ github.ref_name }} ${{ env.ALIYUN_HZ_REG }}/${{ github.repository_owner }}/${{ matrix.target }}:${{ github.ref_name }} cache-from: type=gha,scope=build-${{ matrix.target }} - cache-to: type=gha,mode=max,scope=build-${{ matrix.target }} - goreleaser: - runs-on: ubuntu-latest - env: - ALIYUN_BJ_REG: registry.cn-beijing.aliyuncs.com - ALIYUN_HZ_REG: registry.cn-hangzhou.aliyuncs.com - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Fetch all tags - run: git fetch --force --tags - - name: Set up Go - uses: actions/setup-go@v4 - with: - cache: false - go-version-file: go.mod - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 - with: - distribution: goreleaser - version: latest - args: release --rm-dist - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + cache-to: type=gha,mode=max,scope=build-${{ matrix.target }} \ No newline at end of file