Skip to content

Commit

Permalink
Build cross platform
Browse files Browse the repository at this point in the history
  • Loading branch information
foarsitter committed Dec 19, 2023
1 parent 692be3c commit e6f7f90
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/anaconda-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,19 @@ on:

jobs:
anaconda:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
python-version:
- '3.9'
- '3.10'
- '3.11'
name: Publish to Anaconda
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -l {0}
Expand All @@ -32,5 +43,4 @@ jobs:
- run: |
conda install --yes anaconda-client
conda build .
conda convert --platform all /usr/share/miniconda/conda-bld/linux-64/decide-exchange-model-*.tar.bz2 --output-dir /usr/share/miniconda/conda-bld/
anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload /usr/share/miniconda/conda-bld/**/decide-exchange-model-*.tar.bz2

0 comments on commit e6f7f90

Please sign in to comment.