Skip to content

Commit

Permalink
try to fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Jan 19, 2025
1 parent 7d15e90 commit c456852
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
# - uses: dfinity/setup-dfx@main
- name: Build canisters
env:
RUSTFLAGS: -C target-feature=+crt-static
run: |
rustup target add wasm32-unknown-unknown
cargo install ic-wasm
Expand All @@ -30,6 +27,12 @@ jobs:
SHA256="$(sha256sum < "out/$CAN.wasm.gz" | sed 's/ .*$//g')"
echo $SHA256 > "out/$CAN.wasm.gz.$SHA256.txt"
done
ls -lah out
- name: Build linux binary
env:
RUSTFLAGS: -C target-feature=+crt-static
run: |
rustup target add x86_64-unknown-linux-gnu
cargo build --release --locked -p ic_tee_nitro_gateway
cp "target/release/ic_tee_nitro_gateway" out/
SHA256="$(sha256sum < "out/ic_tee_nitro_gateway" | sed 's/ .*$//g')"
Expand Down

0 comments on commit c456852

Please sign in to comment.