Open-CE Builder 13.0.3 #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish package to Anaconda.org on release | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
name: Upload package | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: '0' | |
- uses: conda-incubator/[email protected] | |
with: | |
auto-update-conda: false | |
python-version: "3.11" | |
- name: Build and upload the conda package | |
id: build_upload | |
env: | |
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} | |
run: | | |
conda install -y conda-build anaconda-client | |
conda config --set anaconda_upload yes | |
export ANACONDA_API_TOKEN=$ANACONDA_TOKEN | |
./packaging_scripts/create_conda_package.sh |