Skip to content

Calcam 2.12

Calcam 2.12 #6

Workflow file for this run

name: Publish Releases
on:
release:
types: [created]
workflow_dispatch:
jobs:
update-pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python3 -m pip install --upgrade build
python3 -m pip install --upgrade twine
- name: Build distribution
run: python3 -m build
- name: Upload to PyPi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: twine upload dist/*
update-anaconda:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build & publish to Anaconda.org
uses: paskino/conda-package-publish-action@master
with:
subDir: 'conda'
channels: 'conda-forge'
AnacondaToken: ${{ secrets.ANACONDA_TOKEN }}
publish: true
test_all: true
convert_win: true
convert_osx: true