Skip to content

Commit

Permalink
Rollup merge of #126033 - Kobzol:fix-toolstate-history, r=ehuss
Browse files Browse the repository at this point in the history
CI: fix publishing of toolstate history

Hopefully fixes the upload of toolstate history that I broke in rust-lang/rust#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`
  • Loading branch information
workingjubilee committed Jun 6, 2024
2 parents 9dc57b5 + e69aeae commit e3df8f4
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit e3df8f4

Please sign in to comment.