Skip to content

Commit

Permalink
fix(action): installer uri from path bug 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohe-Am committed Dec 11, 2023
1 parent d0d7f6f commit b293576
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@ inputs:
description: 'Disable to skip syncing ports'
required: true
default: true

env:
DEFAULT_INSTALL_URL: "${{ github.action_path }}/install.ts"

runs:
using: "composite"
steps:
- id: install-ghjk
shell: bash
env:
DEFAULT_INSTALL_URL: "${{ github.action_path }}/install.ts"
run: |
deno run -A ${${{ inputs.installer-uri }}:-$DEFAULT_INSTALL_URL}
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 b293576

Please sign in to comment.