-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix a few issues remaining in the action.yml
- Loading branch information
1 parent
207ea5c
commit 713743b
Showing
1 changed file
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
name: 'Setup Brioche' | ||
description: 'GitHub Action to install Brioche on a runner' | ||
description: 'GitHub Action to install Brioche on the runner' | ||
author: 'brioche-dev' | ||
inputs: | ||
version: | ||
description: 'Version of Brioche to install' | ||
required: false | ||
default: 'v0.1.3' | ||
install-dir: | ||
description: 'Directory where Brioche should be installed' | ||
required: false | ||
default: '${{ github.home }}/.local/bin' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Install Brioche | ||
shell: bash | ||
run: | | ||
chmod +x $GITHUB_ACTION_PATH/install-brioche.sh | ||
$GITHUB_ACTION_PATH/install-brioche.sh ${{ inputs.version }} | ||
$GITHUB_ACTION_PATH/install-brioche.sh '${{ inputs.install-dir }}' ${{ inputs.version }} | ||
- name: Add Brioche to PATH | ||
run: echo "$HOME/.local/bin" >> $GITHUB_PATH | ||
shell: bash | ||
run: echo '${{ inputs.install-dir }}' >> $GITHUB_PATH |