mirror of
https://github.com/dtolnay/install.git
synced 2024-11-23 08:39:31 +01:00
rustup-toolchain-install-master
This commit is contained in:
parent
2358b19e33
commit
c202af6de9
1 changed files with 2 additions and 9 deletions
11
action.yml
11
action.yml
|
@ -1,20 +1,13 @@
|
||||||
name: cargo install
|
name: cargo install
|
||||||
author: David Tolnay
|
author: David Tolnay
|
||||||
description: Fast `cargo install` action using a GitHub-based binary cache
|
description: Fast `cargo install` action using a GitHub-based binary cache
|
||||||
inputs:
|
|
||||||
crate:
|
|
||||||
description: Name of crate as published to crates.io
|
|
||||||
required: true
|
|
||||||
bin:
|
|
||||||
description: Name of binary; default = same as crate name
|
|
||||||
required: false
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- name: Check inputs
|
- name: Check inputs
|
||||||
run: |
|
run: |
|
||||||
echo "crate=${{inputs.crate}}" >> $GITHUB_OUTPUT
|
echo "crate=rustup-toolchain-install-master" >> $GITHUB_OUTPUT
|
||||||
echo "bin=${{inputs.bin || inputs.crate}}" >> $GITHUB_OUTPUT
|
echo "bin=rustup-toolchain-install-master" >> $GITHUB_OUTPUT
|
||||||
shell: bash
|
shell: bash
|
||||||
id: inputs
|
id: inputs
|
||||||
- name: Determine cargo bin directory
|
- name: Determine cargo bin directory
|
||||||
|
|
Loading…
Reference in a new issue