Skip to content

SK-2954: Split skyflow-python into common/v2/v3 build variants, add f… #147

SK-2954: Split skyflow-python into common/v2/v3 build variants, add f…

SK-2954: Split skyflow-python into common/v2/v3 build variants, add f… #147

name: Internal Release

Check failure on line 1 in .github/workflows/internal-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/internal-release.yml

Invalid workflow file

(Line: 27, Col: 9): Unrecognized named-value: 'matrix'. Located at position 2 within expression: (matrix.variant == 'v3' && startsWith(github.ref_name, 'flowvault-')) || (matrix.variant == 'v2' && !startsWith(github.ref_name, 'flowvault-'))
on:
push:
tags-ignore:
- '*.*'
paths-ignore:
- "*/setup.py"
- "*.yml"
- "*.md"
- "*/skyflow/utils/_version.py"
- "samples/**"
- "v3/samples/**"
branches:
- release/*
- flowvault-release/*
jobs:
build-and-deploy:
strategy:
matrix:
include:
- variant: v2
tag-prefix: ''
- variant: v3
tag-prefix: 'flowvault-'
if: (matrix.variant == 'v3' && startsWith(github.ref_name, 'flowvault-')) || (matrix.variant == 'v2' && !startsWith(github.ref_name, 'flowvault-'))
uses: ./.github/workflows/shared-build-and-deploy.yml
with:
ref: ${{ github.ref_name }}
tag: 'internal'
variant: ${{ matrix.variant }}
tag-prefix: ${{ matrix.tag-prefix }}
secrets: inherit