From 8bfe194b0948f070d6605c642bba3ea4c4f3d0ce Mon Sep 17 00:00:00 2001 From: Nicolas Chatelain Date: Wed, 26 Jul 2023 10:44:36 +0200 Subject: [PATCH] fix CI --- .github/workflows/release.yml | 6 +++--- .goreleaser.yaml | 16 ---------------- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 493d55e..df3d8e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - @@ -22,12 +22,12 @@ jobs: go-version: '1.20' - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v4 with: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index acdf375..46762fe 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -36,14 +36,6 @@ archives: id: "proxy" builds: ['proxy'] name_template: "{{ .ProjectName }}_{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}" - replacements: - amd64: 64bit - 386: 32bit - arm: ARM - arm64: ARM64 - darwin: macOS - linux: Linux - windows: Windows format_overrides: - goos: windows format: zip @@ -51,14 +43,6 @@ archives: id: "agent" builds: ['agent'] name_template: "{{ .ProjectName }}_{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}" - replacements: - amd64: 64bit - 386: 32bit - arm: ARM - arm64: ARM64 - darwin: macOS - linux: Linux - windows: Windows format_overrides: - goos: windows format: zip