diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 19b688b1..6bf63d49 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -17,4 +17,7 @@ jobs: uses: actions/setup-dotnet@v3 # build it, test it, pack it - name: Run dotnet build (release) + # see issue #105 + # very important, since we use cmd scripts, the default is psh, and a bug prevents errorlevel to bubble + shell: cmd run: ./build.cmd diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 02eb3c0d..196dac9e 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -20,6 +20,9 @@ jobs: uses: actions/setup-dotnet@v3 # build it, test it, pack it - name: Run dotnet build (release) + # see issue #105 + # very important, since we use cmd scripts, the default is psh, and a bug prevents errorlevel to bubble + shell: cmd run: ./build.cmd test-release: @@ -36,6 +39,9 @@ jobs: uses: actions/setup-dotnet@v3 # build it, test it, pack it - name: Run dotnet test - release + # see issue #105 + # very important, since we use cmd scripts, the default is psh, and a bug prevents errorlevel to bubble + shell: cmd run: ./build.cmd ci -release - name: Publish test results - release uses: dorny/test-reporter@v1 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index c97c3343..bff72a75 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -20,6 +20,8 @@ jobs: uses: actions/setup-dotnet@v3 # build it, test it, pack it, publish it - name: Run dotnet build (release, for nuget) + # see issue #105 + # very important, since we use cmd scripts, the default is psh, and a bug prevents errorlevel to bubble run: ./build.cmd - name: Nuget publish # skip-duplicate ensures that the 409 error received when the package was already published, diff --git a/.github/workflows/test-report.yaml b/.github/workflows/test-report.yaml index 7edd203d..1f472625 100644 --- a/.github/workflows/test-report.yaml +++ b/.github/workflows/test-report.yaml @@ -16,7 +16,7 @@ jobs: - uses: dorny/test-reporter@v1 with: artifact: test-results-release # artifact name - name: Report release tests # Name of the check run which will be created + name: Report release tests # Name of the check run which will be created path: '*.trx' # Path to test results (inside artifact .zip) reporter: dotnet-trx # Format of test results @@ -26,6 +26,6 @@ jobs: - uses: dorny/test-reporter@v1 with: artifact: test-results-debug # artifact name - name: Report debug tests # Name of the check run which will be created + name: Report debug tests # Name of the check run which will be created path: '*.trx' # Path to test results (inside artifact .zip) reporter: dotnet-trx # Format of test results diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 41a854eb..c71f1d54 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -19,6 +19,9 @@ jobs: # build it, test it - name: Run dotnet test - release + # see issue #105 + # very important, since we use cmd scripts, the default is psh, and a bug prevents errorlevel to bubble + shell: cmd run: ./build.cmd ci -release # upload test results @@ -46,6 +49,9 @@ jobs: # build it, test it - name: Run dotnet test - debug + # see issue #105 + # very important, since we use cmd scripts, the default is psh, and a bug prevents errorlevel to bubble + shell: cmd run: ./build.cmd ci -debug # upload test results