diff --git a/.github/actions/upload_aws/action.yml b/.github/actions/upload_aws/action.yml index 643dd003427dc..bc34aebdea7b7 100644 --- a/.github/actions/upload_aws/action.yml +++ b/.github/actions/upload_aws/action.yml @@ -20,8 +20,11 @@ runs: steps: - name: Upload to S3 if: >- - (github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') || - (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' || + (startswith(github.ref, 'refs/heads/') && endswith(github.ref, '.x'))) || + (github.event_name == 'release' && + (github.event.action == 'published' || github.event.action == 'rerequested')) run: >- [ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp ${{ inputs.source }} s3://adafruit-circuit-python/bin/${{ inputs.destination }}
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: