Skip to content

Commit f43579d

Browse files
committed
Trying some things
1 parent 6506283 commit f43579d

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/anaconda-publish.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,32 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
os: [
14-
ubuntu-latest,
15-
windows-latest,
16-
macos-latest,
14+
'ubuntu-latest',
15+
'windows-latest',
16+
'macos-latest',
1717
]
1818
python-version: [
1919
'3.9',
2020
'3.10',
2121
'3.11',
2222
]
2323
name: Publish to Anaconda
24+
defaults:
25+
run:
26+
shell: bash -l {0}
2427
steps:
2528
- uses: actions/checkout@v2
2629
id: cache
2730
- uses: conda-incubator/setup-miniconda@v3
2831
with:
32+
auto-update-conda: true
2933
python-version: ${{ matrix.python-version }}
3034
channels: conda-forge
3135
channel-priority: strict
32-
conda-build-version: '3.28'
3336
conda-solver: 'libmamba'
3437
activate-environment: "decide"
35-
- run: conda install --yes anaconda-client
36-
- run: conda build --numpy 1.23.4 --python ${{ matrix.python-version }} .
37-
- run: anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload /usr/share/miniconda/conda-bld/**/decide-exchange-model-*.tar.bz2
38-
39-
38+
- run: |
39+
conda install --yes anaconda-client build
40+
anaconda --version
41+
conda build --numpy 1.23.4 --python ${{ matrix.python-version }} .
42+
anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload /usr/share/miniconda/conda-bld/**/decide-exchange-model-*.tar.bz2

0 commit comments

Comments
 (0)