Skip to content
This repository was archived by the owner on Mar 27, 2022. It is now read-only.

Commit f4c60be

Browse files
committed
Adding github ci
1 parent 04d24fb commit f4c60be

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build Image
2+
on: [push]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: actions-rs/toolchain@v1
9+
with:
10+
toolchain: stable
11+
target: x86_64-unknown-linux-musl
12+
default: true
13+
override: true
14+
- uses: actions-rs/cargo@v1
15+
with:
16+
use-cross: true
17+
command: build
18+
args: --target x86_64-unknown-linux-musl --release
19+
- run: cp target/x86_64-unknown-linux-musl/release/lambda-aws-sso-google-sync bootstrap
20+
- run: strip bootstrap
21+
- uses: actions/upload-artifact@v2
22+
with:
23+
name: lambda-zip
24+
path: bootstrap

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test = ["lambda-runtime-types/test"]
1818
anyhow = "1.0"
1919
async-trait = "0.1"
2020
jsonwebtoken = "7.2"
21-
lambda-runtime-types = "0.1.0"
21+
lambda-runtime-types = "0.1"
2222
log = "0.4"
2323
regex = "1.5"
2424
reqwest = { version = "0.11", features = ["json", "rustls-tls"] }

0 commit comments

Comments
 (0)