Commit graph

44 commits

Author SHA1 Message Date
David Tolnay
d7bc4da3d8
Bash comment 2023-01-31 12:10:48 -08:00
David Tolnay
60436bd17a
Delete stable sparse registry env variable
Fixes #56.
2023-01-31 12:09:10 -08:00
David Tolnay
38c74e42a6
Fix sparse registries environment variable 2023-01-31 11:48:33 -08:00
Alex Gaynor
60cdf46ba8
Also enable sparse registries with the _new_ environment variable
Changed yesterday: https://github.com/rust-lang/cargo/pull/11224
2023-01-21 10:45:57 -05:00
David Tolnay
bf2c4a29d0
Enable Cargo nightly sparse-registry feature 2023-01-19 13:37:00 -08:00
David Tolnay
ba4a065776
Enable colors in Cargo output 2022-10-24 19:18:00 -07:00
David Tolnay
bb53cd0164
Switch from set-output to $GITHUB_OUTPUT 2022-10-13 09:30:53 -07:00
David Tolnay
b6a0604e19
Make sure the 'ago' syntax specifies 'stable' 2022-09-25 07:56:42 -07:00
David Tolnay
dab5f91926
Add toolchain expressions like '18 months ago' 2022-09-25 06:38:21 -07:00
Wolfgang Silbermayr
1f4843331b Add to GITHUB_PATH with $HOME instead of ~ 2022-08-02 12:05:00 +02:00
David Tolnay
415f4eec04
Fix typo in inputs expression 2022-07-20 14:55:40 -07:00
David Tolnay
404bb95f09
Do the fallback from targets to target as a yaml expression 2022-07-20 14:53:46 -07:00
David Tolnay
c9932df3e4
Fix targets input 2022-07-20 14:51:07 -07:00
David Tolnay
8514966bb2
Format targets conditional more compactly 2022-07-20 14:46:26 -07:00
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