Skip to content

Commit fe036d3

Browse files
committed
Dry run on windows-2025
1 parent 7043852 commit fe036d3

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/build-publish-anaconda.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# This workflow builds and publishes the conda package to the Numerics88 channel
22
# using the openalea/action-build-publish-anaconda action.
3-
name: Conda Build And Publish
3+
name: Conda Build And Publish on Release
44

55
on:
66
release:
77
types: [published]
8+
push:
9+
branches: [kean/windows-update]
810
workflow_dispatch:
911

1012
jobs:
@@ -15,7 +17,8 @@ jobs:
1517
matrix:
1618
# OS types: Windows x64, macOS 13 (last intel based runner), macOS latest (Apple silicon), and Ubuntu x64
1719
# ------------------------------------------------------
18-
os: ["ubuntu-latest", "macos-13", "macos-latest", "windows-latest"]
20+
# ["ubuntu-latest", "macos-13", "macos-latest", "windows-latest"]
21+
os: ["windows-2025"]
1922
python-minor-version: [9, 10, 11, 12]
2023

2124
steps:
@@ -33,9 +36,9 @@ jobs:
3336
python: ${{ matrix.python-minor-version }}
3437
numpy: '22'
3538
channels: Numerics88, conda-forge, defaults
36-
token: ${{ secrets.ANACONDA_TOKEN }}
37-
publish: true
38-
label: main
39+
publish: ${{ github.event_name == 'release' }}
40+
token: ${{ github.event_name == 'release' && secrets.ANACONDA_TOKEN || '' }}
41+
label: ${{ github.event_name == 'release' && 'main' || '' }}
3942

4043

4144

0 commit comments

Comments
 (0)