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