2022-11-16 15:29:45 -06:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: pwsh
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
|
|
- run: |
|
|
|
|
mkdir build
|
|
|
|
echo '@echo off' > build/test.cmd
|
|
|
|
echo 'echo Hi' >> build/test.cmd
|
2023-04-18 13:09:57 -05:00
|
|
|
mkdir build2
|
|
|
|
echo '@echo off' > build2/test2.cmd
|
|
|
|
echo 'echo test2' >> build2/test2.cmd
|
2022-11-16 15:29:45 -06:00
|
|
|
- run: |
|
|
|
|
echo '${{ tojson(runner) }}'
|
|
|
|
ls
|
|
|
|
echo '${{ github.workspace }}'
|
|
|
|
working-directory: ${{ github.workspace }}\build
|
|
|
|
- run: |
|
|
|
|
echo $env:GITHUB_PATH
|
|
|
|
echo '${{ github.workspace }}\build' > $env:GITHUB_PATH
|
|
|
|
cat $env:GITHUB_PATH
|
|
|
|
- run: |
|
|
|
|
echo $env:PATH
|
|
|
|
test
|
2023-04-18 13:09:57 -05:00
|
|
|
- run: |
|
|
|
|
echo "PATH=$env:PATH;${{ github.workspace }}\build2" > $env:GITHUB_ENV
|
|
|
|
- run: |
|
|
|
|
echo $env:PATH
|
|
|
|
test
|
|
|
|
test2
|