Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: gen binaries workflow #172

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions .github/workflows/gen-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,16 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4 # we need go to build go-waku
with:
go-version: "1.20"
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install Go
run: |
if [ $(uname -m) = "aarch64" ]; then
wget https://golang.org/dl/go1.20.13.linux-arm64.tar.gz &&
sudo tar -C /usr/local -xzf go1.20.13.linux-arm64.tar.gz
else
wget https://golang.org/dl/go1.20.13.linux-amd64.tar.gz &&
sudo tar -C /usr/local -xzf go1.20.13.linux-amd64.tar.gz
fi
export PATH=$PATH:/usr/local/go/bin
profile: minimal
toolchain: 1.82.0
default: true
override: true
- name: Build release binary
run: |
cargo build --release
Expand Down
Loading