mirror of
https://github.com/actions-rs/toolchain.git
synced 2025-09-09 17:51:58 +03:00
Output rustc, cargo and rustup versions as Action outputs (#47)
This commit is contained in:
parent
ad7f1a0189
commit
5d50a12f35
4 changed files with 95 additions and 1 deletions
|
@ -4,6 +4,7 @@ import * as io from '@actions/io';
|
|||
import path from "path";
|
||||
|
||||
import * as args from './args';
|
||||
import * as versions from './versions';
|
||||
import {RustUp, ToolchainOptions} from '@actions-rs/core';
|
||||
|
||||
async function run() {
|
||||
|
@ -52,6 +53,8 @@ async function run() {
|
|||
if (opts.target) {
|
||||
await rustup.addTarget(opts.target, opts.name);
|
||||
}
|
||||
|
||||
await versions.gatherInstalledVersions();
|
||||
}
|
||||
|
||||
async function main() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue