mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-29 19:21:14 +00:00
20 lines
808 B
YAML
20 lines
808 B
YAML
name: Set up AWS credentials and environment variables for sccache
|
|
description: "Set up AWS credentials and environment variables for sccache"
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Get AWS credentials for sccache bucket
|
|
uses: aws-actions/configure-aws-credentials@v2
|
|
with:
|
|
role-to-assume: arn:aws:iam::279114543810:role/gha-oidc-NVIDIA
|
|
aws-region: us-east-2
|
|
role-duration-seconds: 43200 # 12 hours)
|
|
- name: Set environment variables
|
|
run: |
|
|
echo "SCCACHE_BUCKET=rapids-sccache-devs" >> $GITHUB_ENV
|
|
echo "SCCACHE_REGION=us-east-2" >> $GITHUB_ENV
|
|
echo "SCCACHE_IDLE_TIMEOUT=32768" >> $GITHUB_ENV
|
|
echo "SCCACHE_S3_USE_SSL=true" >> $GITHUB_ENV
|
|
echo "SCCACHE_S3_NO_CREDENTIALS=false" >> $GITHUB_ENV
|
|
shell: bash
|