Skip to content

Commit

Permalink
Merge pull request #130 from pkendall64/downgrade-aws-cli
Browse files Browse the repository at this point in the history
Downgrade AWS CLI for R2 compatibility
  • Loading branch information
pkendall64 authored Jan 24, 2025
2 parents 436bce3 + 4c0ce33 commit 31bb9f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,19 @@ jobs:
name: firmware
path: hardware.zip

- name: Install downgraded AWS CLI
uses: unfor19/install-aws-cli-action@master
with:
version: "2.22.35"

- name: Upload hardware target zip to ExpressLRS artifactory
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ENDPOINT_URL: ${{ secrets.AWS_ENDPOINT_URL }}
AWS_REGION: "auto"
run: |
aws --version
if [[ -z $AWS_ACCESS_KEY_ID || -z $AWS_SECRET_ACCESS_KEY || -z $AWS_ENDPOINT_URL ]]; then
echo "Artifactory credentials are not defined. Most likely action is running from pull request. Not a bug."
exit 0
Expand Down

0 comments on commit 31bb9f4

Please sign in to comment.