René Kijewski
6b70b4ca85
Add rustc_hash
output
...
I.e. the `a8314ef7d` part in `rustc 1.62.0 (a8314ef7d 2022-06-27)`.
This makes it possible to use the output e.g. as a cache key.
`actions-rs/toolchain` has the same output with the same function.
2022-07-14 19:45:31 +02:00
David Tolnay
4192802e81
Add icon+color branding for Action
2022-06-24 11:48:26 -07:00
David Tolnay
e04dee54dd
Disambiguate action name
...
GitHub Marketplace requires:
Name must be unique. Cannot match an existing action, user or organization name.
2022-06-24 11:40:41 -07:00
David Tolnay
2dcd099451
Move title of rustup install step into the run script
2022-06-04 16:41:30 -07:00
Thom Chiovoloni
6ebfe94518
Respect $CARGO_HOME
when auto-installing rustup
2022-06-04 16:01:55 -07:00
Thom Chiovoloni
6b014e5670
Attempt to install rustup when not present
2022-06-04 15:32:04 -07:00
David Tolnay
1bccaa1715
Emit allow-downgrade flag only on nightly with components
2021-10-09 06:10:44 +01:00
David Tolnay
c1964a6b50
Clean up bash variable naming
2021-10-09 06:04:03 +01:00
David Tolnay
cd924db82b
Opt in to downgrade on unavailable components
2021-10-09 05:11:12 +01:00
David Tolnay
8e1a49f458
Support multiple targets
2021-10-09 05:09:30 +01:00
David Tolnay
eaa8734e7e
Name in a way that is actually rendered by Actions ui
2021-10-09 05:08:40 +01:00
David Tolnay
947b7d5e81
Name flags step
2021-10-09 05:07:58 +01:00
David Tolnay
a538c0eb3d
Rearrange flags generation into one step
2021-10-09 05:07:44 +01:00
David Tolnay
8fb5bc3133
Handle whitespace in comma separated components
2021-10-09 04:57:39 +01:00
David Tolnay
123acc0c06
Extract target and component flag generation to steps
2021-10-09 04:42:18 +01:00
David Tolnay
58522575e4
Support installing additional rustup components
2021-10-09 04:20:26 +01:00
David Tolnay
d115c8759a
Support specifying target triple
2021-10-09 04:16:07 +01:00
David Tolnay
1b2f63dd38
Provide rustc version as a workflow output
2021-10-09 04:06:06 +01:00
David Tolnay
6ab2a4a841
Print rustc version after install
2021-10-09 04:01:43 +01:00
David Tolnay
f51b131c6b
Add initial attempt at composite Actions logic
2021-10-09 03:57:15 +01:00