Skip to content

hack: fix flavor

hack: fix flavor #116

Workflow file for this run

name: Kernelkit Trigger

Check failure on line 1 in .github/workflows/trigger.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/trigger.yml

Invalid workflow file

(Line: 22, Col: 15): Unrecognized named-value: 'env'. Located at position 1 within expression: env.BUILD_FLAVOR, (Line: 30, Col: 15): Unrecognized named-value: 'env'. Located at position 1 within expression: env.BUILD_FLAVOR
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
push:
branches:
- main
- ci-workflow-redesign
workflow_dispatch:
env:
BUILD_FLAVOR: ${{ ((github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:main')) || (github.event_name == 'push' && github.ref_name == 'main')) && '' || '_minimal' }}
jobs:
build-x86_64:
if: startsWith(github.repository, 'kernelkit/')
uses: ./.github/workflows/build.yml
with:
target: "x86_64"
name: "infix"
flavor: ${{ env.BUILD_FLAVOR }}
build-aarch64:
if: startsWith(github.repository, 'kernelkit/')
uses: ./.github/workflows/build.yml
with:
target: "aarch64"
name: "infix"
flavor: ${{ env.BUILD_FLAVOR }}
test-run-x86_64:
if: startsWith(github.repository, 'kernelkit/')
needs: build-x86_64
uses: ./.github/workflows/test.yml
with:
target: "x86_64"
name: "infix"
test-publish-x86_64:
if: startsWith(github.repository, 'kernelkit/')
needs: test-run-x86_64
uses: ./.github/workflows/publish.yml