Skip to content

Commit 7251239

Browse files
authored
Update mopper-conda-release.yaml fixe action
1 parent 0f5e77c commit 7251239

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/mopper-conda-release.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
name: Test conda deployment of package with Python ${{ matrix.python-version }}
1313
runs-on: ubuntu-latest
1414
strategy:
15-
python-version: "3.10"
15+
matrix:
16+
python-version: ["3.10"]
1617
steps:
1718
- uses: actions/[email protected]
1819
with:
@@ -22,15 +23,15 @@ jobs:
2223
- name: Conda environment creation and activation
2324
uses: conda-incubator/[email protected]
2425
with:
25-
python-version: ${{ python-version }}
26+
python-version: ${{ matrix.python-version }}
2627
activate-environment: mopper_env
2728
environment-file: conda/environment.yaml # Path to the build conda environment
2829
show-channel-urls: true #
29-
- name: Build but do not upload the conda packages
30+
- name: Build and upload the conda packages
3031
uses: uibcdf/[email protected]
3132
with:
3233
meta_yaml_dir: conda
33-
python-version: ${{ python-version }}
34+
python-version: ${{ matrix.python-version }}
3435
user: coecms
3536
label: auto
3637
upload: true

0 commit comments

Comments
 (0)