Skip to content

Commit 5587fe8

Browse files
committed
Upload Windows artifacts into correct subdirectory
The Windows artifacts are uploaded to S3 as part of every build on `master`, but due to slight differences in the upload command syntax between Linux and Windows currently end up at the root of the upload directory. Similar to the existing upload step for builds on `stable`, the command has been tweaked to place the files into the `dist` directory. k
1 parent 3dd6708 commit 5587fe8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166
- name: Deploy build to rustup-builds bucket for release team
167167
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.mode == 'release'
168168
run: |
169-
aws --debug s3 cp --recursive dist s3://rustup-builds/${{ github.sha }}
169+
aws --debug s3 cp --recursive dist s3://rustup-builds/${{ github.sha }}/dist
170170
env:
171171
AWS_DEFAULT_REGION: us-east-1
172172
- name: Clear the cargo caches
@@ -323,7 +323,7 @@ jobs:
323323
- name: Deploy build to rustup-builds bucket for release team
324324
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.mode == 'release'
325325
run: |
326-
aws --debug s3 cp --recursive dist s3://rustup-builds/${{ github.sha }}
326+
aws --debug s3 cp --recursive dist s3://rustup-builds/${{ github.sha }}/dist
327327
env:
328328
AWS_DEFAULT_REGION: us-east-1
329329
- name: Clear the cargo caches
@@ -486,7 +486,7 @@ jobs:
486486
- name: Deploy build to rustup-builds bucket for release team
487487
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.mode == 'release'
488488
run: |
489-
aws --debug s3 cp --recursive dist s3://rustup-builds/${{ github.sha }}
489+
aws --debug s3 cp --recursive dist s3://rustup-builds/${{ github.sha }}/dist
490490
env:
491491
AWS_DEFAULT_REGION: us-east-1
492492
- name: Clear the cargo caches

ci/actions-templates/windows-builds-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs: # skip-master skip-pr skip-stable
159159
- name: Deploy build to rustup-builds bucket for release team
160160
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.mode == 'release'
161161
run: |
162-
aws --debug s3 cp --recursive dist s3://rustup-builds/${{ github.sha }}
162+
aws --debug s3 cp --recursive dist s3://rustup-builds/${{ github.sha }}/dist
163163
env:
164164
AWS_DEFAULT_REGION: us-east-1
165165
- name: Clear the cargo caches

0 commit comments

Comments
 (0)