Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 8 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,23 +219,17 @@ jobs:
# suffix for nightly package versions
export VERSION_SUFFIX=`date +%y%m%d`

conda build continuous_integration/recipe --no-anaconda-upload
- name: Build conda package
shell: bash -l {0}
run: |
# suffix for nightly package versions
export VERSION_SUFFIX=`date +%y%m%d`

mamba build continuous_integration/recipe \
--no-anaconda-upload \
--output-folder .
- name: Upload conda package
mamba build continuous_integration/recipe --no-anaconda-upload
- name: Build and upload conda package
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'dask-contrib/dask-sql' }}
shell: bash -l {0}
env:
ANACONDA_API_TOKEN: ${{ secrets.DASK_CONDA_TOKEN }}
run: |
# install anaconda for upload
pip install anaconda
# suffix for nightly package versions
export VERSION_SUFFIX=`date +%y%m%d`

anaconda upload --label dev noarch/*.tar.bz
# set conda to upload after building
conda config --set anaconda_upload yes

mamba build continuous_integration/recipe --label dev