File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
.github/actions/upload_aws Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 20
20
steps :
21
21
- name : Upload to S3
22
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'))
23
+ (github.event_name == 'push' && github.repository_owner == 'adafruit') &&
24
+ (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'))
25
28
run : >-
26
29
[ -z "$AWS_ACCESS_KEY_ID" ] ||
27
30
aws s3 cp ${{ inputs.source }} s3://adafruit-circuit-python/bin/${{ inputs.destination }}
You can’t perform that action at this time.
0 commit comments