Skip to content
This repository was archived by the owner on Oct 6, 2024. It is now read-only.

Commit bd1c148

Browse files
committed
Remove clippy deps and updated cargo toml packages
1 parent e71feac commit bd1c148

File tree

7 files changed

+109
-230
lines changed

7 files changed

+109
-230
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,26 @@ jobs:
2727
- uses: katyo/publish-crates@v1
2828
with:
2929
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
30-
release-new-musl-binaries:
31-
name: release ${{ matrix.target }}
30+
release-new-musl-binary:
31+
name: build musl-rust bootstrap binary
3232
runs-on: ubuntu-latest
33-
strategy:
34-
fail-fast: false
35-
matrix:
36-
target: [x86_64-unknown-linux-musl]
3733
steps:
38-
- uses: actions/checkout@master
39-
- name: Compile and release
40-
uses: rust-build/rust-build.action@latest
34+
- uses: actions/checkout@v2
35+
with:
36+
rust-version: stable
37+
- name: Fetch musl-rust image
38+
run: docker pull clux/muslrust
39+
- name: Build rust release binary
40+
run: |
41+
rustup target add x86_64-unknown-linux-musl
42+
docker run -v $PWD:/volume --rm -t clux/muslrust cargo build --release --target x86_64-unknown-linux-musl
43+
- name: package lambda zip for terraform
44+
run: |
45+
zip -j lambda.zip ./target/x86_64-unknown-linux-musl/release/bootstrap
46+
- name: create-new-release
47+
uses: softprops/action-gh-release@v1
48+
with:
49+
files: |
50+
lambda.zip
4151
env:
4252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
RUSTTARGET: ${{ matrix.target }}
44-
EXTRA_FILES: "README.md LICENSE"

Cargo.lock

Lines changed: 10 additions & 174 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)