80 Commits

Author SHA1 Message Date
David Tolnay
d872b66ee6 Fill in missing input to rustup command line step 2022-07-20 14:45:43 -07:00
David Tolnay
4582dac165 Merge pull request #25 from 9999years/multiple-targets
Rename `target` to `targets`
2022-07-20 14:45:07 -07:00
David Tolnay
df47cd7856 Set CARGO_INCREMENTAL=0 2022-07-20 13:25:21 -07:00
David Tolnay
6af6d2b8ea Space out workflow steps 2022-07-20 13:23:41 -07:00
Rebecca Turner
fd72fa8a0d Rename target to targets 2022-07-19 12:21:41 -04:00
David Tolnay
19603a2b92 Ensure version comes from the just-installed toolchain 2022-07-15 11:11:37 -07:00
David Tolnay
d335e67920 Retitle cachekey step 2022-07-15 11:10:03 -07:00
David Tolnay
e75f9d3869 Delete version output 2022-07-15 11:05:04 -07:00
David Tolnay
378ab83624 Add an output intended for cache keys 2022-07-15 10:59:14 -07:00
David Tolnay
e4aceeade6 Include compiler commit hash, date, and host in the log 2022-07-15 10:16:55 -07:00
David Tolnay
28efc6cfe3 Add example of the 'version' output 2022-07-15 10:12:30 -07: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