Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stefdoerr committed Mar 4, 2024
1 parent 78f8d64 commit da4e772
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@ jobs:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.8", "3.9", "3.10"]

defaults: # Needed for conda
run:
shell: bash -l {0}

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
mamba-version: "*"
miniforge-variant: Mambaforge
channels: acellera,conda-forge,defaults

- name: Install dependencies
run: |
Expand Down Expand Up @@ -56,6 +62,6 @@ jobs:

- name: Build and publish conda package
run: |
$CONDA/bin/conda install anaconda-client conda-build -y -q
$CONDA/bin/conda build --python ${{ matrix.python-version }} --no-include-recipe package/jobqueues -c acellera
$CONDA/bin/anaconda -t ${{ secrets.ANACONDA_TOKEN_BASIC }} upload -u acellera $CONDA/conda-bld/linux-64/jobqueues-*.tar.bz2
conda install anaconda-client conda-build -y -q
conda build --python ${{ matrix.python-version }} --output-folder ./pkg/ --no-include-recipe --no-anaconda-upload package/jobqueues -c acellera
anaconda -t ${{ secrets.ANACONDA_TOKEN_BASIC }} upload -u acellera ./pkg/*/jobqueues-*.tar.bz2

0 comments on commit da4e772

Please sign in to comment.