Skip to content

Commit 14b664f

Browse files
committed
Switch to using cargo-lambda from PyPi
Signed-off-by: R Tyler Croy <rtyler@scribd.com>
1 parent ae83527 commit 14b664f

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,10 @@ jobs:
5555
uses: dtolnay/rust-toolchain@stable
5656
- name: Install Zig toolchain
5757
uses: mlugg/setup-zig@v2
58-
- name: Install Cargo Lambda
59-
uses: jaxxstorm/action-install-gh-release@v1.12.0
60-
with:
61-
repo: cargo-lambda/cargo-lambda
62-
platform: linux # Other valid options: 'windows' or 'darwin'
63-
arch: x86_64 # Other valid options for linux: 'aarch64'
6458
- name: Build release
65-
run: cargo lambda build --release --output-format zip
59+
run: |
60+
pip install cargo-lambda
61+
cargo lambda build --release --output-format zip
6662
6763
- name: release
6864
uses: actions/create-release@v1

.github/workflows/rust.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,9 @@ jobs:
1818
uses: dtolnay/rust-toolchain@stable
1919
- name: Install Zig toolchain
2020
uses: mlugg/setup-zig@v2
21-
- name: Install Cargo Lambda
22-
uses: jaxxstorm/action-install-gh-release@v1.12.0
23-
with:
24-
repo: cargo-lambda/cargo-lambda
25-
platform: linux # Other valid options: 'windows' or 'darwin'
26-
arch: x86_64 # Other valid options for linux: 'aarch64'
27-
# Add your build steps below
28-
- name: Build
29-
run: cargo lambda build
3021
- name: Run tests
3122
run: cargo test --verbose
23+
- name: Build
24+
run: |
25+
pip install cargo-lambda
26+
cargo lambda build

0 commit comments

Comments
 (0)