Remove extra and incorrect upload line

This commit is contained in:
Dan Halbert 2020-07-29 12:30:48 -04:00
parent b93ee1e6f8
commit 4d54cbc6a7

View File

@ -90,26 +90,22 @@ jobs:
with: with:
name: mpy-cross.static-raspbian name: mpy-cross.static-raspbian
path: mpy-cross/mpy-cross.static-raspbian path: mpy-cross/mpy-cross.static-raspbian
- name: Build mpy-cross.static - name: Build mpy-cross.static
run: make -C mpy-cross -j2 -f Makefile.static run: make -C mpy-cross -j2 -f Makefile.static
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: mpy-cross.static-amd64-linux name: mpy-cross.static-amd64-linux
path: mpy-cross/mpy-cross.static path: mpy-cross/mpy-cross.static
- name: Build mpy-cross.static-mingw - name: Build mpy-cross.static-mingw
run: make -C mpy-cross -j2 -f Makefile.static-mingw run: make -C mpy-cross -j2 -f Makefile.static-mingw
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: mpy-cross.static-x64-windows name: mpy-cross.static-x64-windows
path: mpy-cross/mpy-cross.static.exe path: mpy-cross/mpy-cross.static.exe
- name: Upload mpy-cross builds to S3 - name: Upload mpy-cross builds to S3
run: | run: |
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/mpy-cross.static-raspbian s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross.static-raspbian-${{ env.CP_VERSION }} --no-progress --region us-east-1 [ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/mpy-cross.static-raspbian s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross.static-raspbian-${{ env.CP_VERSION }} --no-progress --region us-east-1
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/mpy-cross.static s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross.static-amd64-linux-${{ env.CP_VERSION }} --no-progress --region us-east-1 [ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/mpy-cross.static s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross.static-amd64-linux-${{ env.CP_VERSION }} --no-progress --region us-east-1
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/mpy-cross.static-mingw s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross.static-mingw-${{ env.CP_VERSION }} --no-progress --region us-east-1
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/mpy-cross.static.exe s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross.static-x64-windows-${{ env.CP_VERSION }}.exe --no-progress --region us-east-1 [ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/mpy-cross.static.exe s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross.static-x64-windows-${{ env.CP_VERSION }}.exe --no-progress --region us-east-1
env: env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}