Skip to content
Unverified Commit 437ae5bc authored by ysaito1001's avatar ysaito1001 Committed by GitHub
Browse files

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: default avatarYuki Saito <awsaito@amazon.com>
Co-authored-by: default avatarZelda Hessler <zhessler@amazon.com>
parent 9a41e359
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment