Skip to content

Commit

Permalink
reindeer
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Apr 14, 2024
1 parent 2358b19 commit e3ed5fa
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions action.yml
Original file line number Diff line number Diff line change
@@ -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=reindeer" >> $GITHUB_OUTPUT
echo "bin=reindeer" >> $GITHUB_OUTPUT
shell: bash
id: inputs
- name: Determine cargo bin directory
Expand Down

0 comments on commit e3ed5fa

Please sign in to comment.