ci: Add missing arm64 (self-hosted) builds on release (#1358)

The build invocation from the release workflow needs settings to trigger
self-hosted builds, including Linux arm64.
This commit is contained in:
Joey Parrish 2024-03-04 11:06:43 -08:00 committed by GitHub
parent 34dcf3bd34
commit 9c033b9d40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 1 deletions

View File

@ -13,8 +13,13 @@ on:
- v[0-9]* - v[0-9]*
jobs: jobs:
settings:
name: Settings
uses: ./.github/workflows/settings.yaml
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: settings
outputs: outputs:
release_created: ${{ steps.release.outputs.release_created }} release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }} tag_name: ${{ steps.release.outputs.tag_name }}
@ -101,11 +106,13 @@ jobs:
# Do a complete build # Do a complete build
build: build:
name: Build name: Build
needs: release needs: [settings, release]
if: needs.release.outputs.release_created if: needs.release.outputs.release_created
uses: ./.github/workflows/build.yaml uses: ./.github/workflows/build.yaml
with: with:
ref: ${{ github.ref }} ref: ${{ github.ref }}
self_hosted: ${{ needs.settings.outputs.self_hosted != '' }}
debug: ${{ needs.settings.outputs.debug != '' }}
# Attach build artifacts to the release # Attach build artifacts to the release
artifacts: artifacts: