Skip to content

Commit 7660923

Browse files
committed
CI: run each OS only on develop and main
1 parent eeafd68 commit 7660923

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ jobs:
286286
retention-days: 7
287287

288288
build:
289+
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'
289290
timeout-minutes: 60
290291
# NOTE: If you add or remove platforms from this matrix, make sure to update
291292
# the documentation at website/docs/developers/getting-started.mdx
@@ -334,6 +335,7 @@ jobs:
334335
echo "Build info verification passed!"
335336
336337
build-wasm:
338+
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'
337339
timeout-minutes: 60
338340
# NOTE: If you add or remove platforms from this matrix, make sure to update
339341
# the documentation at website/docs/developers/getting-started.mdx
@@ -366,6 +368,7 @@ jobs:
366368
RUSTFLAGS: ""
367369

368370
build-tests:
371+
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'
369372
timeout-minutes: 60
370373
# NOTE: If you add or remove platforms from this matrix, make sure to update
371374
# the documentation at website/docs/developers/getting-started.mdx
@@ -397,6 +400,7 @@ jobs:
397400
run: make build-tests
398401

399402
build-tests-webrtc:
403+
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'
400404
timeout-minutes: 60
401405
# NOTE: If you add or remove platforms from this matrix, make sure to update
402406
# the documentation at website/docs/developers/getting-started.mdx

0 commit comments

Comments
 (0)