From d9b45e8ed212b486afdc30a87191d126295a992e Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 3 Mar 2021 18:24:31 +0300 Subject: workflows/test.yml: add an example using shell: --- .github/workflows/test.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 41c4079..831844f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,6 @@ jobs: if: runner.os == 'Windows' - name: Set up Cygwin - id: setup uses: ./ with: platform: '${{ matrix.platform }}' @@ -76,3 +75,23 @@ jobs: $((Get-Command python3.exe).Path -eq 'C:\cg\bin\python3.exe') -or $(throw (Get-Command python3.exe)) python3.exe --version if: matrix.hardlinks + + shell: + name: 'shell:' + runs-on: windows-2019 + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Clean up PATH + uses: egor-tensin/cleanup-path@v1 + if: runner.os == 'Windows' + + - name: Set up Cygwin + uses: ./ + + - name: Run basic commands + run: | + ls -Al + pwd + shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' -- cgit v1.2.3