Skip to content

Commit

Permalink
[feat] add checksum for each platform (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyBoWu authored Oct 14, 2024
1 parent 16e77bc commit bdffb1d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,16 @@ jobs:
echo "Building for $GOOS/$GOARCH..."
env GOOS=$GOOS GOARCH=$GOARCH go build -o $output_name ./cmd/geth
- name: Calculate checksum
run: |
sha256sum ./build/bin/geth-${{ matrix.platform }} > ./build/bin/geth-${{ matrix.platform }}.sha256
- name: Upload binaries and source code to GitHub Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.event.release.tag_name }}
file: |
./build/bin/geth-${{ matrix.platform }}
./build/bin/geth-${{ matrix.platform }}.sha256
file_glob: false

0 comments on commit bdffb1d

Please sign in to comment.