Skip to content

Commit d59bc71

Browse files
committed
fix: remove invalid secrets check from if condition
Secrets cannot be used directly in workflow if conditions. The configure-aws action handles the check internally.
1 parent 3491a0b commit d59bc71

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ jobs:
5555
cache: 'gradle'
5656

5757
- name: Configure AWS credentials
58-
if: inputs.aws-role-arn != '' || (secrets.aws-access-key-id != '' && secrets.aws-secret-access-key != '')
5958
uses: redis/github-workflows/.github/actions/configure-aws@main
6059
with:
6160
aws-role-arn: ${{ inputs.aws-role-arn }}

0 commit comments

Comments
 (0)