From d5e01597486b152a8cfbe1ba5ffc74c711d2de15 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 17 Oct 2022 17:10:53 -0700 Subject: [PATCH] dircnt --- action.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/action.yml b/action.yml index 7bc8fa1..b227a07 100644 --- a/action.yml +++ b/action.yml @@ -2,12 +2,6 @@ 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 github_token: description: Access token for connecting to GitHub API for artifact attestation; normally the ephemeral {{github.token}} when used in a GitHub workflow, or a personal access token {{secrets.GH_TOKEN}} in Gitea's act runner default: ${{github.token}} @@ -16,8 +10,8 @@ runs: steps: - name: Check inputs run: | - echo "crate=${{inputs.crate}}" >> $GITHUB_OUTPUT - echo "bin=${{inputs.bin || inputs.crate}}" >> $GITHUB_OUTPUT + echo "crate=dircnt" >> $GITHUB_OUTPUT + echo "bin=dircnt" >> $GITHUB_OUTPUT shell: bash id: inputs - name: Determine cargo bin directory