Skip to content

Commit 5310172

Browse files
Move github.action_path expansion to env var in composite action step
1 parent 52924ed commit 5310172

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,5 @@ runs:
6767
env:
6868
PSMODULE_RESOLVE_PSMODULEVERSION_INPUT_Settings: ${{ inputs.Settings }}
6969
PSMODULE_RESOLVE_PSMODULEVERSION_INPUT_Name: ${{ inputs.Name }}
70-
run: ${{ github.action_path }}/scripts/main.ps1
70+
PSMODULE_ACTION_PATH: ${{ github.action_path }}
71+
run: & "$env:PSMODULE_ACTION_PATH/scripts/main.ps1"

0 commit comments

Comments
 (0)