Skip to content

Commit

Permalink
fix(action): installer uri from path bug 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohe-Am committed Dec 11, 2023
1 parent 5beb159 commit d0d7f6f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ inputs:
default: 'v0.1.0-alpha'
installer-uri:
description: 'Alternative installer script to use'
required: true
default: "${{ github.action_path }}/install.ts"
required: false
sync:
description: 'Disable to skip syncing ports'
required: true
Expand All @@ -18,8 +17,10 @@ runs:
steps:
- id: install-ghjk
shell: bash
env:
DEFAULT_INSTALL_URL: "${{ github.action_path }}/install.ts"
run: |
deno run -A ${{ inputs.installer-uri }}
deno run -A ${${{ inputs.installer-uri }}:-$DEFAULT_INSTALL_URL}
echo "$HOME/.local/bin" >> $GITHUB_PATH
- id: sync-ghjk
shell: bash
Expand Down

0 comments on commit d0d7f6f

Please sign in to comment.