diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2024-06-06 14:46:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-06 14:46:20 -0700 |
| commit | 835ceeae2a6db228d60dbf1631b741c0c5366585 (patch) | |
| tree | b4e0cb520d099398a691fba84b5448275bbf51fb /src/ci/github-actions | |
| parent | aa4cffc012485d6f65c1f3bcf9b4f46deeb751e0 (diff) | |
| parent | 2fe41c68d3819a94a3f6a7773e109619bd4cc241 (diff) | |
| download | rust-835ceeae2a6db228d60dbf1631b741c0c5366585.tar.gz rust-835ceeae2a6db228d60dbf1631b741c0c5366585.zip | |
Rollup merge of #126033 - Kobzol:fix-toolstate-history, r=ehuss
CI: fix publishing of toolstate history Hopefully fixes the upload of toolstate history that I broke in https://github.com/rust-lang/rust/pull/125145. The problem is that the toolstate environment variables need to be available not just when updating `latest.json` through the Bash/Python script, but also in the main CI workflow, where `history` is updated in bootstrap (the toolstate logic is distributed in two places :/ ). The only tricky thing is how to pass the token secret to the CI job, as I need to enable it only for privileged (`auto`/`try`) builds. I assume that the secret is filled only on `rust-lang-ci`, not on `rust-lang`, so I chose the easiest way of just configuring the environment variable globally. We'll see if that works on PR CI. r? `@ehuss`
Diffstat (limited to 'src/ci/github-actions')
| -rw-r--r-- | src/ci/github-actions/jobs.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ci/github-actions/jobs.yml b/src/ci/github-actions/jobs.yml index d4325862248..8c84e721f5d 100644 --- a/src/ci/github-actions/jobs.yml +++ b/src/ci/github-actions/jobs.yml @@ -58,6 +58,7 @@ envs: CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZI5DHEBFL ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55 AWS_REGION: us-west-1 + TOOLSTATE_PUBLISH: 1 try: <<: *production |
