mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-24 13:36:31 +00:00
Use alternative environment for release build bump (#2855)
* Use alternative environment for release build bump By using a separate environment, we can postpone the bump in the version repository by adding a requirement for approval. Dev version will use default (empty string) environment which doesn't have any constraints. * Update build step name - it's not always dev build anymore * Use dynamic environment name for beta/stable channels
This commit is contained in:
parent
b56f660316
commit
e928fa498f
5
.github/workflows/build.yaml
vendored
5
.github/workflows/build.yaml
vendored
@ -128,7 +128,7 @@ jobs:
|
||||
push: true
|
||||
|
||||
build:
|
||||
name: Development build for ${{ matrix.board.id }}
|
||||
name: Build for ${{ matrix.board.id }}
|
||||
permissions:
|
||||
contents: write # for actions/upload-release-asset to upload release asset
|
||||
needs: prepare
|
||||
@ -241,8 +241,9 @@ jobs:
|
||||
output/images/haos_ova*.qcow2.xz
|
||||
|
||||
bump_version:
|
||||
name: Bump dev channel version
|
||||
name: Bump ${{ needs.prepare.outputs.channel }} channel version
|
||||
if: ${{ github.repository == 'home-assistant/operating-system' }}
|
||||
environment: "${{ github.event_name == 'release' && needs.prepare.outputs.channel || '' }}"
|
||||
needs: [ build, prepare ]
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user