Skip to content

Commit

Permalink
Fix aws cli syntax for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-spacemesh committed Jul 18, 2024
1 parent a6c75a1 commit bafd61f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,9 @@ jobs:
- if: matrix.platform == 'windows'
name: Upload windows build to R2
run: |
BUILD_PATH='Spacemesh Setup ${{ steps.package-version.outputs.version }}.exe'
$BUILD_PATH='Spacemesh Setup ${{ steps.package-version.outputs.version }}.exe'
aws s3 cp ./release/${BUILD_PATH} s3://${{ secrets.CLOUDFLARE_BUCKET }}/dist/pr-${{ github.sha }}/${BUILD_PATH} \
--endpoint-url https://${{ secrets.CLOUDFLARE_ACCOUNT_ID }}.r2.cloudflarestorage.com
aws s3 cp "./release/$BUILD_PATH" "s3://${{ secrets.CLOUDFLARE_BUCKET }}/dist/pr-${{ github.sha }}/$BUILD_PATH" --endpoint-url https://${{ secrets.CLOUDFLARE_ACCOUNT_ID }}.r2.cloudflarestorage.com
- if: matrix.platform == 'linux'
name: Upload linux build to R2
Expand Down

0 comments on commit bafd61f

Please sign in to comment.