Skip to content

Commit 3dd6708

Browse files
jdnorami3l
authored andcommitted
Fix uploading of Windows build artifacts
On Windows, the `dist` folder is uploaded at the end of the build. This wasn't taken into consideration when introducing the new S3 bucket in
1 parent 8c76204 commit 3dd6708

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 deploy/ s3://rustup-builds/${{ github.sha }}
169+
aws --debug s3 cp --recursive dist s3://rustup-builds/${{ github.sha }}
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 deploy/ s3://rustup-builds/${{ github.sha }}
326+
aws --debug s3 cp --recursive dist s3://rustup-builds/${{ github.sha }}
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 deploy/ s3://rustup-builds/${{ github.sha }}
489+
aws --debug s3 cp --recursive dist s3://rustup-builds/${{ github.sha }}
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 deploy/ s3://rustup-builds/${{ github.sha }}
162+
aws --debug s3 cp --recursive dist s3://rustup-builds/${{ github.sha }}
163163
env:
164164
AWS_DEFAULT_REGION: us-east-1
165165
- name: Clear the cargo caches

0 commit comments

Comments
 (0)