From 65cdb50bd37c2d9ab19a1c13578754e0a2ba0677 Mon Sep 17 00:00:00 2001 From: tidex <46107860+tidexe@users.noreply.github.com> Date: Thu, 20 Feb 2025 06:18:52 +0800 Subject: [PATCH] Update build-release.yml --- .github/workflows/build-release.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 097a776e..58e589c4 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -50,6 +50,12 @@ jobs: echo "Building for GOARCH=${GOARCH} GOMIPS=${GOMIPS}" GOOS=linux go build -v -ldflags '-s -w' -o cloudflared-${{ matrix.target_arch }} ./cmd/cloudflared + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: cloudflared-${{ matrix.target_arch }} + path: cloudflared-${{ matrix.target_arch }} + release: runs-on: ubuntu-latest needs: build @@ -62,6 +68,12 @@ jobs: - name: Checkout Code uses: actions/checkout@v4 + - name: Download Artifact + uses: actions/download-artifact@v4 + with: + name: cloudflared-${{ matrix.target_arch }} + path: . + - name: Generate SHA Sums run: | echo "Generating SHA sums for release assets..." @@ -73,4 +85,5 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: files: | + cloudflared-${{ matrix.target_arch }} SHA256_SUMS