3
0
Fork 0
mirror of https://github.com/dtolnay/install.git synced 2024-11-25 17:39:33 +01:00

cargo-llvm-lines

This commit is contained in:
David Tolnay 2021-10-09 01:20:32 +01:00
parent 397358d64b
commit 71c01c1fd8
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -1,20 +1,13 @@
name: cargo install
author: David Tolnay
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:
using: composite
steps:
- name: Check inputs
run: |
echo "crate=${{inputs.crate}}" >> $GITHUB_OUTPUT
echo "bin=${{inputs.bin || inputs.crate}}" >> $GITHUB_OUTPUT
echo "crate=cargo-llvm-lines" >> $GITHUB_OUTPUT
echo "bin=cargo-llvm-lines" >> $GITHUB_OUTPUT
shell: bash
id: inputs
- name: Determine cargo bin directory