Skip to content

Commit 2d6b03f

Browse files
authored
[repo] Always execute build-test step in CI workflow (open-telemetry#5828)
1 parent dd74056 commit 2d6b03f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ jobs:
171171

172172
build-test:
173173
needs: [
174-
lint-misspell-sanitycheck,
175174
detect-changes,
175+
lint-misspell-sanitycheck,
176176
lint-md,
177177
lint-dotnet-format,
178178
build-test-solution,
@@ -186,7 +186,8 @@ jobs:
186186
verify-aot-compat,
187187
concurrency-tests
188188
]
189-
if: always() && !cancelled() && !contains(needs.*.result, 'failure')
190-
runs-on: windows-latest
189+
if: always() && !cancelled()
190+
runs-on: ubuntu-latest
191191
steps:
192-
- run: echo 'build complete'
192+
- run: |
193+
if ( ${{ contains(needs.*.result, 'failure') }} == true ); then echo 'build failed'; exit 1; else echo 'build complete'; fi

0 commit comments

Comments
 (0)