Skip to content

Commit

Permalink
fix: Update aws-genai-cicd-suite.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yike5460 authored Oct 25, 2024
1 parent 0afd046 commit 294f084
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/aws-genai-cicd-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ jobs:
else
echo "GitHub Token is not set"
fi
echo "AWS_ROLE_TO_ASSUME: ${{ vars.AWS_ROLE_TO_ASSUME_VAR }}"
if [ -n "${{ vars.AWS_ROLE_TO_ASSUME_VAR }}" ]; then
echo "Role to Assume is set"
else
echo "Role to Assume is not set"
# assume the specified IAM role and set up the AWS credentials for use in subsequent steps.
- name: Configure AWS Credentials
Expand All @@ -76,4 +79,4 @@ jobs:
# Removed the invalid input 'generate-unit-test-exclude-files'
# output-language: 'zh'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 294f084

Please sign in to comment.