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

Commit

Permalink
Remove clippy deps and updated cargo toml packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ch3ck committed Dec 28, 2021
1 parent e71feac commit bd1c148
Show file tree
Hide file tree
Showing 7 changed files with 109 additions and 230 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,26 @@ jobs:
- uses: katyo/publish-crates@v1
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
release-new-musl-binaries:
name: release ${{ matrix.target }}
release-new-musl-binary:
name: build musl-rust bootstrap binary
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64-unknown-linux-musl]
steps:
- uses: actions/checkout@master
- name: Compile and release
uses: rust-build/rust-build.action@latest
- uses: actions/checkout@v2
with:
rust-version: stable
- name: Fetch musl-rust image
run: docker pull clux/muslrust
- name: Build rust release binary
run: |
rustup target add x86_64-unknown-linux-musl
docker run -v $PWD:/volume --rm -t clux/muslrust cargo build --release --target x86_64-unknown-linux-musl
- name: package lambda zip for terraform
run: |
zip -j lambda.zip ./target/x86_64-unknown-linux-musl/release/bootstrap
- name: create-new-release
uses: softprops/action-gh-release@v1
with:
files: |
lambda.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUSTTARGET: ${{ matrix.target }}
EXTRA_FILES: "README.md LICENSE"
184 changes: 10 additions & 174 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bd1c148

Please sign in to comment.