Actions: Do not build meshtasticd for event/ branches
Do not build MacOS, Windows, WASM, or Docker for event branches.
This commit is contained in:
@@ -140,7 +140,7 @@ jobs:
|
|||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
MacOS:
|
MacOS:
|
||||||
if: ${{ github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }}
|
if: ${{ !contains(github.ref_name, 'event/') && github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@@ -155,7 +155,7 @@ jobs:
|
|||||||
# secrets: inherit
|
# secrets: inherit
|
||||||
|
|
||||||
Windows:
|
Windows:
|
||||||
if: ${{ github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }}
|
if: ${{ !contains(github.ref_name, 'event/') && github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@@ -182,7 +182,7 @@ jobs:
|
|||||||
uses: ./.github/workflows/test_native.yml
|
uses: ./.github/workflows/test_native.yml
|
||||||
|
|
||||||
build-wasm:
|
build-wasm:
|
||||||
if: ${{ github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }}
|
if: ${{ !contains(github.ref_name, 'event/') && github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }}
|
||||||
# Build the WebAssembly portduino node ([env:native-wasm]) as part of normal CI,
|
# Build the WebAssembly portduino node ([env:native-wasm]) as part of normal CI,
|
||||||
# like the other platforms. It's a dedicated job (not a row in the `build`
|
# like the other platforms. It's a dedicated job (not a row in the `build`
|
||||||
# matrix) because its artifact is meshnode.{mjs,wasm} - not a flashable
|
# matrix) because its artifact is meshnode.{mjs,wasm} - not a flashable
|
||||||
@@ -191,7 +191,7 @@ jobs:
|
|||||||
uses: ./.github/workflows/build_portduino_wasm.yml
|
uses: ./.github/workflows/build_portduino_wasm.yml
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
if: ${{ github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }}
|
if: ${{ !contains(github.ref_name, 'event/') && github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }}
|
||||||
permissions: # Needed for pushing to GHCR.
|
permissions: # Needed for pushing to GHCR.
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
|||||||
Reference in New Issue
Block a user