diff --git a/action.yml b/action.yml index 61b125a0..044b818d 100644 --- a/action.yml +++ b/action.yml @@ -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 @@ -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