diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 48c996c..c51c140 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -32,13 +32,18 @@ jobs: test: runs-on: ${{ matrix.operating-system }} strategy: + fail-fast: false matrix: operating-system: [ubuntu-latest, windows-latest, macOS-latest] steps: - name: Checkout uses: actions/checkout@v2 - name: Clear tool cache + if: runner.os != 'windows' run: rm -rf $RUNNER_TOOL_CACHE/* + - name: Clear tool cache (Windows) + if: runner.os == 'windows' + run: Remove-Item $RUNNER_TOOL_CACHE/* -Recurse -Force -ErrorAction SilentlyContinue - name: Setup dotnet 3.1.201 uses: ./ with: @@ -78,7 +83,7 @@ jobs: runs-on: ubuntu-latest env: https_proxy: http://no-such-proxy:3128 - no_proxy: github.com,dotnetcli.blob.core.windows.net,download.visualstudio.microsoft.com,api.nuget.org + no_proxy: github.com,dotnetcli.blob.core.windows.net,download.visualstudio.microsoft.com,api.nuget.org,dotnetcli.azureedge.net steps: - name: Checkout uses: actions/checkout@v2 diff --git a/__tests__/verify-dotnet.sh b/__tests__/verify-dotnet.sh index f314c9a..3911ee0 100755 --- a/__tests__/verify-dotnet.sh +++ b/__tests__/verify-dotnet.sh @@ -14,7 +14,7 @@ echo "Building sample csproj" dotnet build __tests__/sample-csproj/ --no-cache || exit 1 echo "Testing compiled app" -sample_output="$(__tests__/sample-csproj/bin/Debug/netcoreapp3.0/sample)" +sample_output="$(__tests__/sample-csproj/bin/Debug/netcoreapp3.0/sample.dll)" echo "Sample output: $sample_output" if [ -z "$(echo $sample_output | grep Hello)" ]; then echo "Unexpected output"