Skip to content

Commit

Permalink
fix: gen binaries workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
i0n committed Nov 21, 2024
1 parent 478066d commit 6b3491b
Showing 1 changed file with 7 additions and 11 deletions.
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

0 comments on commit 6b3491b

Please sign in to comment.