Skip to content

Commit 563bb88

Browse files
committed
Fix conda recipe parsing and pin workflow to Ubuntu 22.04 LTS
- Fixed meta.yaml script field to use single line format - Removed Windows skip condition to allow cross-platform builds - Pinned GitHub Actions workflow to ubuntu-22.04 for stability - Should resolve 'Number of parsed outputs does not match detected raw metadata blocks' warning
1 parent 0f75832 commit 563bb88

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/matrix-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
matrix-conda-build:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212
strategy:
1313
fail-fast: false
1414
matrix:
@@ -61,7 +61,7 @@ jobs:
6161

6262
publish-release-candidate:
6363
needs: matrix-conda-build
64-
runs-on: ubuntu-latest
64+
runs-on: ubuntu-22.04
6565
if: success()
6666

6767
steps:

matrix-build/conda-recipe/meta.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,8 @@ source:
1010

1111
build:
1212
number: 0
13-
skip: true # [py<310 or win]
14-
script: |
15-
python matrix-build/setup-matrix.py install
16-
npm install
17-
npm run build
13+
skip: true # [py<310]
14+
script: "python matrix-build/setup-matrix.py install && npm install && npm run build"
1815

1916
requirements:
2017
build:

0 commit comments

Comments
 (0)