GitHub action for building statically linked Rust binaries (x86_64-unknown-linux-musl) packaged for AWS Lambda. Based on emk/rust-musl-builder.
- uses: sevco/rust-lambda-action@1.59.0
with:
git_credentials: ${{ secrets.GIT_CREDENTIALS }}| Variable | Description | Required | Default |
|---|---|---|---|
| git_credentials | If provided git will be configured to use these credentials and https | false | |
| directory | Relative path under $GITHUB_WORKSPACE where Cargo project is located | false |
$directory/target/lambda/$project.zip