Commit 950ee78
Allow "Update GitHub Pages" to opt-in to cargo sparse registry (#2610)
## Motivation and Context
Addresses a CI failure within `Update GitHub Pages` due to the use of
the cargo sparse registry
([example](https://github.com/awslabs/smithy-rs/actions/runs/4746548497/jobs/8430328515)).
## Description
The PR allows the action to configure whether the cargo sparse registry
is used via the environment variable
[CARGO_UNSTABLE_SPARSE_REGISTRY](https://blog.rust-lang.org/2022/06/22/sparse-registry-testing.html#overview):
<img width="800" alt="Screenshot 2023-04-20 at 11 55 06 AM"
src="https://user-images.githubusercontent.com/15333866/233435686-d24ceb2f-facf-45c9-b6cb-490b8ea2b085.png">
----
_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
---------
Co-authored-by: Yuki Saito <awsaito@amazon.com>
Co-authored-by: Zelda Hessler <zhessler@amazon.com>1 parent f5fa409 commit 950ee78
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| |||
0 commit comments