Skip to content

Commit 06ba8f1

Browse files
author
Justin Boswell
authored
Get builder from cloudfront (#185)
1 parent b5cfde6 commit 06ba8f1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
env:
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

0 commit comments

Comments
 (0)