forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from blocknative/update-release-action
use makefile to build
- Loading branch information
Showing
1 changed file
with
2 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- name: Build geth | ||
run: | | ||
cd cmd/geth && /opt/go/1.19.5/bin/go build | ||
make && cd ./build/bin | ||
tar -czvf geth-$(basename ${GITHUB_REF})-linux-arm64.tar.gz geth | ||
echo $(md5sum geth | awk '{print $1}') > geth-$(basename ${GITHUB_REF})-linux-arm64.tar.gz.md5 | ||
- name: Upload geth to release page | ||
|
@@ -31,10 +31,4 @@ jobs: | |
goarch: amd64 | ||
project_path: ./cmd/geth | ||
binary_name: geth | ||
- uses: wangyoucao577/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
goos: linux | ||
goarch: amd64 | ||
project_path: ./cmd/bootnode | ||
binary_name: bootnode | ||
build_command: make && mv ./build/bin/geth ./geth |