We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4ca293 commit 23cff4cCopy full SHA for 23cff4c
1 file changed
.github/actions/upload_aws/action.yml
@@ -20,8 +20,11 @@ runs:
20
steps:
21
- name: Upload to S3
22
if: >-
23
- (github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') ||
24
- (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
+ (github.event_name == 'push' && github.repository_owner == 'adafruit') &&
+ (github.ref == 'refs/heads/main' ||
25
+ (startswith(github.ref, 'refs/heads/') && endswith(github.ref, '.x'))) ||
26
+ (github.event_name == 'release' &&
27
+ (github.event.action == 'published' || github.event.action == 'rerequested'))
28
run: >-
29
[ -z "$AWS_ACCESS_KEY_ID" ] ||
30
aws s3 cp ${{ inputs.source }} s3://adafruit-circuit-python/bin/${{ inputs.destination }}
0 commit comments