diff options
Diffstat (limited to '.github/actions/run-example')
| -rw-r--r-- | .github/actions/run-example/action.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/actions/run-example/action.yml b/.github/actions/run-example/action.yml index 5300ab9..9d3f90f 100644 --- a/.github/actions/run-example/action.yml +++ b/.github/actions/run-example/action.yml @@ -7,8 +7,10 @@ inputs: runs: using: composite steps: - - run: | - New-Variable path -Value '${{ inputs.path }}' -Option Constant + - env: + ARG_PATH: ${{ inputs.path }} + run: | + $path = $env:ARG_PATH if ($env:CI_HOST_LINUX -and -not $env:CI_TARGET_LINUX) { echo 'Not going to do that on Linux/MinGW' |
