Skip to content

Commit

Permalink
fix a few issues remaining in the action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
asheliahut committed Nov 1, 2024
1 parent 207ea5c commit 713743b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions action.yml
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

0 comments on commit 713743b

Please sign in to comment.