File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 - name : Install dependencies
4848 run : npm ci --unsafe-perm
4949
50+ - name : Configure AWS Credentials for Release
51+ uses : aws-actions/configure-aws-credentials@v5
52+ with :
53+ aws-region : us-west-2
54+ role-to-assume : arn:aws:iam::587316601012:role/GitHub-CI-CI-Bot-Credential-Access-Role-us-west-2
55+ role-session-name : CI_Bot_Release
56+
57+ # Use AWS Secrets Manager GHA to retrieve CI Bot Creds
58+ - name : Get CI Bot Creds Secret
59+ uses : aws-actions/aws-secretsmanager-get-secrets@v2
60+ with :
61+ secret-ids : Github/aws-crypto-tools-ci-bot
62+ parse-json-secrets : true
63+
64+ # Log in as the CI Bot
65+ - name : Log in as CI Bot
66+ run : |
67+ echo ${{ env.GITHUB_AWS_CRYPTO_TOOLS_CI_BOT_ESDK_RELEASE_TOKEN }} > token.txt
68+ gh auth login --with-token < token.txt
69+ rm token.txt
70+ gh auth status
71+
5072 - name : Configure git
5173 env :
5274 BRANCH : ${{ github.event.inputs.branch }}
You can’t perform that action at this time.
0 commit comments