File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 88
99env :
1010 BUILDER_VERSION : v0.3.1
11+ BUILDER_HOST : https://d19elf31gohf1l.cloudfront.net
1112 PACKAGE_NAME : aws-c-http
1213 LINUX_BASE_IMAGE : ubuntu-16-x64
1314
@@ -74,15 +75,15 @@ jobs:
7475 steps :
7576 - name : Build ${{ env.PACKAGE_NAME }} + consumers
7677 run : |
77- python -c "from urllib.request import urlretrieve; urlretrieve('https://aws-crt-builder.s3.amazonaws.com /${{ env.BUILDER_VERSION }}/builder', 'builder.pyz')"
78- python builder.pyz -p ${{ env.PACKAGE_NAME }} build default-downstream
78+ python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }} /${{ env.BUILDER_VERSION }}/builder', 'builder.pyz')"
79+ python builder.pyz -p ${{ env.PACKAGE_NAME }} build
7980
8081 osx :
8182 runs-on : macos-latest
8283 steps :
8384 - name : Build ${{ env.PACKAGE_NAME }} + consumers
8485 run : |
85- python3 -c "from urllib.request import urlretrieve; urlretrieve('https://aws-crt-builder.s3.amazonaws.com /${{ env.BUILDER_VERSION }}/builder', 'builder')"
86+ python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }} /${{ env.BUILDER_VERSION }}/builder', 'builder')"
8687 chmod a+x builder
8788 ./builder -p ${{ env.PACKAGE_NAME }} build default-downstream
8889
You can’t perform that action at this time.
0 commit comments