fix: add debugging info onto workflow
This commit is contained in:
3
.github/workflows/aws-genai-cicd-suite.yml
vendored
3
.github/workflows/aws-genai-cicd-suite.yml
vendored
@@ -43,13 +43,14 @@ jobs:
|
|||||||
npm list @actions/github
|
npm list @actions/github
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Debug GitHub Token
|
- name: Debug GitHub Token and environment variables
|
||||||
run: |
|
run: |
|
||||||
if [ -n "${{ secrets.GITHUB_TOKEN }}" ]; then
|
if [ -n "${{ secrets.GITHUB_TOKEN }}" ]; then
|
||||||
echo "GitHub Token is set"
|
echo "GitHub Token is set"
|
||||||
else
|
else
|
||||||
echo "GitHub Token is not set"
|
echo "GitHub Token is not set"
|
||||||
fi
|
fi
|
||||||
|
echo "AWS_ROLE_TO_ASSUME: ${{ vars.AWS_ROLE_TO_ASSUME_VAR }}"
|
||||||
|
|
||||||
# assume the specified IAM role and set up the AWS credentials for use in subsequent steps.
|
# assume the specified IAM role and set up the AWS credentials for use in subsequent steps.
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
|
|||||||
Reference in New Issue
Block a user