Skip to content

Addon 0.11.1 — stale preflight verdicts no longer lock the Render gate #31

Addon 0.11.1 — stale preflight verdicts no longer lock the Render gate

Addon 0.11.1 — stale preflight verdicts no longer lock the Render gate #31

Workflow file for this run

name: addon
# Builds the per-platform Blender addon packages (self-contained bridge bundled) and attaches
# them to the GitHub Release. Triggered by an `addon-v*` tag; can also be run manually.
#
# All three RIDs are cross-published from a single Linux runner. This is deliberate: the bridge weaves
# aspects with AspectInjector at build time, and its osx-arm64 native tool gets SIGKILL'd by Gatekeeper
# on the macOS runner. On Linux the (managed) weaving runs with the Linux tool and `dotnet publish -r
# <rid>` still produces a working self-contained build for every target. Ships the SELF-CONTAINED
# variant (no .NET prerequisite for artists). macOS code-signing/notarization is a separate production
# step (see signing strategy); unsigned is fine for debug builds.
#
# Not yet automated here (see docs/addon-packaging-and-distribution.md §4): regenerating + publishing
# the extension repository index.json for in-Blender auto-update — that needs the HTTPS host decided.
on:
push:
tags:
- 'addon-v*'
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rid: [win-x64, linux-x64, osx-arm64]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Build addon package (${{ matrix.rid }}, self-contained)
shell: pwsh
run: ./OutWit.Render.BlenderAddon/Build-BlenderAddonPackage.ps1 -RuntimeIdentifier ${{ matrix.rid }} -DeploymentMode SelfContained
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: addon-${{ matrix.rid }}
path: OutWit.Render.BlenderAddon/dist/*.zip
if-no-files-found: error
release:
needs: build
if: startsWith(github.ref, 'refs/tags/addon-v')
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
path: artifacts
- name: Attach addon zips to the release
uses: softprops/action-gh-release@v2
with:
files: artifacts/**/*.zip