Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit ae42494

Browse files
committed
Deprecate action
1 parent 9f9a1cf commit ae42494

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88

99
GitHub actions for installing rust toolchain
1010

11+
> [!WARNING] This action has been deprecated. It is recommended to use `rustup`,
12+
> which is pre-installed on GitHub-hosted runners, or alternatively, consider
13+
> using the `dtolnay/rust-toolchain` action available at
14+
> https://github.com/dtolnay/rust-toolchain for better support and
15+
> functionality.
16+
1117
## Example Workflow
1218

1319
```yml

badges/coverage.svg

Lines changed: 1 addition & 1 deletion
Loading

dist/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ import { exec } from '@actions/exec'
99
*/
1010
export async function run(): Promise<void> {
1111
try {
12+
core.error(
13+
'This action has been deprecated. It is recommended to use `rustup`, which is pre-installed on GitHub-hosted runners, or alternatively, consider using the `dtolnay/rust-toolchain` action available at https://github.com/dtolnay/rust-toolchain for better support and functionality.'
14+
)
1215
const platform: Platform = await core.platform.getDetails()
1316

1417
const rust_toolchain: string = core.getInput('toolchain', {

0 commit comments

Comments
 (0)