summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-10-30 11:53:44 -0700
committerGitHub <noreply@github.com>2020-10-30 11:53:44 -0700
commitf47ec650caa0a85c85d789ffcb15fb6f0bd38c7a (patch)
tree401b88364657d97eb65d88b0d7e5817e238f2af8 /.github/workflows
parentc7db9e5b538c51a5b9fee120bb54d20e411d8051 (diff)
parente83be19d0f43d406c0968eb3903972cf127efb8d (diff)
Merge pull request #3601 from jepler/upload-stubs-s3
workflows: Upload stubs to s3
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 95bd2bfa4..2d020174b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -111,11 +111,13 @@ jobs:
with:
name: mpy-cross.static-x64-windows
path: mpy-cross/mpy-cross.static.exe
- - name: Upload mpy-cross builds to S3
+ - name: Upload stubs and mpy-cross builds to S3
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 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.exe s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross.static-x64-windows-${{ env.CP_VERSION }}.exe --no-progress --region us-east-1
+ zip -9 circuitpython-stubs.CP_VERSION }}.zip stubs
+ [ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp circuitpython-stubs.zip s3://adafruit-circuit-python/bin/stubs/circuitpython-stubs-${{ env.CP_VERSION }}.zip --no-progress --region us-east-1
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}