Skip to content

Final fix

Final fix #736

Workflow file for this run

on:
push:
branches:
- master
- beta
- develop
tags:
- '[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+-*'
pull_request:
branches:
- master
- beta
- develop
types: [opened, reopened, synchronize]
workflow_dispatch: # Manually invoked by user.
name: ci-build
jobs:
getvars:
uses: ./.github/workflows/get-vars.yml
build:
needs: getvars
uses: ./.github/workflows/build-all.yml
with:
version: ${{ needs.getvars.outputs.version }}
release-channel: ${{ needs.getvars.outputs.release-channel }}
board-matrix: ${{ needs.getvars.outputs.board-matrix }}
checkpoint-build:
runs-on: ubuntu-latest
needs: [getvars, build]
steps:
- run: echo "Builds checkpoint reached"
publish:
if: ${{ needs.getvars.outputs.should-deploy == 'true' }}
needs: [getvars, checkpoint-build]
uses: ./.github/workflows/publish-all.yml
with:
version: ${{ needs.getvars.outputs.version }}
release-channel: ${{ needs.getvars.outputs.release-channel }}
is-prerelease: ${{ needs.getvars.outputs.release-channel != 'stable' }}
board-list: ${{ needs.getvars.outputs.board-list }}
board-matrix: ${{ needs.getvars.outputs.board-matrix }}
release-notes: ${{ needs.getvars.outputs.release-notes }}
release-stable-list: ${{ needs.getvars.outputs.release-stable-list }}
release-beta-list: ${{ needs.getvars.outputs.release-beta-list }}
release-dev-list: ${{ needs.getvars.outputs.release-dev-list }}
secrets: inherit