Skip to content

Commit

Permalink
Update build-release-artifacts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyBoWu authored Oct 8, 2024
1 parent b042d5f commit 0c490e3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,17 @@ jobs:
- name: Set up environment for cross-compilation
run: |
IFS="-" read -r GOOS GOARCH <<< "${{ matrix.platform }}"
output_name=./build/bin/geth
output_name=./build/bin/geth-${{ matrix.platform }}
echo "Building for $GOOS/$GOARCH..."
env GOOS=$GOOS GOARCH=$GOARCH go build -o $output_name ./cmd/geth
- name: List release assets
run: ls -l ./release

- 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 }}
./release/source-code.zip
./release/source-code.tar.gz
file_glob: false

0 comments on commit 0c490e3

Please sign in to comment.