Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Try an alternative action that allows tags prefixes

Manav Rathifb6dbde1987e
diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml
index 69d2026e5d..8d85dfec58 100644
--- a/.github/workflows/cli-release.yml
+++ b/.github/workflows/cli-release.yml
@@ -11,30 +11,18 @@ on:
- "cli-v*"
jobs:
- goreleaser:
+ release-linux-amd64:
runs-on: ubuntu-latest
steps:
- - name: Install latest Syft
- run: |
- wget $(curl -s https://api.github.com/repos/anchore/syft/releases/latest | grep 'browser_' | grep 'linux_amd64.rpm' | cut -d\" -f4) -O syft_latest_linux_amd64.rpm
- sudo rpm -i syft_latest_linux_amd64.rpm
-
- name: Checkout code
uses: actions/checkout@v4
- with:
- # Required for the changelog to work correctly.
- fetch-depth: 0
-
- - name: Set up Go
- uses: actions/setup-go@v5
- with:
- go-version: "1.20"
- - name: Run GoReleaser
- uses: goreleaser/goreleaser-action@v5
+ - uses: wangyoucao577/go-release-action@v1
with:
- workdir: cli
- args: release --clean
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ goversion: "1.20"
+ project_path: "./cli"
+ sha256sum: true
+ goos: linux
+ goarch: amd64