Skip to content

Commit b186b00

Browse files
committed
Setup rust before cargo lambda
1 parent 1f68b1e commit b186b00

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ jobs:
1717
run: sudo apt-get update
1818
- name: install protoc
1919
run: sudo apt-get install -y protobuf-compiler
20+
- uses: actions-rust-lang/setup-rust-toolchain@v1
21+
with:
22+
target: x86_64-unknown-linux-gnu
23+
rustflags: ""
2024
- name: install cargo lambda
2125
run: |
2226
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
2327
brew tap cargo-lambda/cargo-lambda
2428
brew install cargo-lambda
2529
- name: Set build env
2630
run: echo "BUILD_SHORT_SHA=$(echo -n $GITHUB_SHA | cut -c 1-7)" >> $GITHUB_ENV
27-
- uses: actions-rust-lang/setup-rust-toolchain@v1
28-
with:
29-
target: x86_64-unknown-linux-gnu
30-
rustflags: ""
3131
- name: build amd64
3232
run: cargo lambda build --extension --release --x86-64 --lambda-dir target/lambda/x86-64
3333
- name: build arm64

0 commit comments

Comments
 (0)