Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Safonkin committed Feb 4, 2021
1 parent 1317beb commit 054db1c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,12 @@ jobs:
run: |
if (-Not (Test-Path "../nuget.config")) { throw "nuget file not generated correctly" }
- name: Verify dotnet
if: runner.os != 'windows'
run: __tests__/verify-dotnet.sh 3.1.201 2.2.402
- name: Verify dotnet (Windows)
if: runner.os == 'windows'
# if: runner.os != 'windows'
shell: pwsh
run: __tests__/verify-dotnet.ps1 3.1.201 2.2.402
# - name: Verify dotnet (Windows)
# if: runner.os == 'windows'
# run: __tests__/verify-dotnet.ps1 3.1.201 2.2.402

test-setup-without-patch-version:
runs-on: ${{ matrix.operating-system }}
Expand All @@ -88,11 +89,12 @@ jobs:
with:
dotnet-version: '3.1'
- name: Verify dotnet
if: runner.os != 'windows'
run: __tests__/verify-dotnet.sh 3.1
- name: Verify dotnet (Windows)
if: runner.os == 'windows'
# if: runner.os != 'windows'
shell: pwsh
run: __tests__/verify-dotnet.ps1 3.1
# - name: Verify dotnet (Windows)
# if: runner.os == 'windows'
# run: __tests__/verify-dotnet.ps1 3.1

test-setup-x-patch-version:
runs-on: ${{ matrix.operating-system }}
Expand Down
5 changes: 0 additions & 5 deletions __tests__/verify-dotnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ if [ -z "$1" ]; then
exit 1
fi

# if [ ! -f "../nuget.config" ]; then
# echo "nuget file not generated correctly"
# exit 1
# fi

dotnet_version="$(dotnet --version)"
echo "Found dotnet version '$dotnet_version'"
if [ -z "$(echo $dotnet_version | grep $1)" ]; then
Expand Down

0 comments on commit 054db1c

Please sign in to comment.