diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fe65392..ad5af35 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,6 +3,8 @@ on: pull_request: env: CARGO_TERM_COLOR: always + AWS_ACCESS_KEY_ID: ${{ AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ AWS_SECRET_ACCESS_KEY }} jobs: deploy: runs-on: ubuntu-latest diff --git a/ci/src/main.rs b/ci/src/main.rs index ab443d2..94e137e 100644 --- a/ci/src/main.rs +++ b/ci/src/main.rs @@ -137,6 +137,14 @@ fn get_dependencies(client: Arc) -> Container { None, ) .with_env_variable("RUSTC_WRAPPER".into(), "/usr/local/bin/sccache".into()) + .with_env_variable( + "AWS_ACCESS_KEY_ID".into(), + std::env::var("AWS_ACCESS_KEY_ID").unwrap_or("".into()), + ) + .with_env_variable( + "AWS_SECRET_ACCESS_KEY".into(), + std::env::var("AWS_SECRET_ACCESS_KEY").unwrap_or("".into()), + ) .with_env_variable("SCCACHE_BUCKET".into(), "sccache".into()) .with_env_variable("SCCACHE_REGION".into(), "auto".into()) .with_env_variable(