Add PYPI_TOKEN to workflow #30
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: ci | |
env: | |
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} | |
GH_TOKEN: ${{ github.token }} | |
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
branches: | |
- '**' | |
jobs: | |
ci: | |
name: ci | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check tag | |
run: .github/scripts/tag-check | |
- name: Install conda | |
run: .github/scripts/install-conda | |
- name: Build conda package | |
run: .github/scripts/conda-package-build | |
- name: Publish conda package | |
run: .github/scripts/conda-package-release | |
- name: Build PyPI package | |
run: .github/scripts/pypi-package-build | |
- name: Release PyPI package | |
run: .github/scripts/pypi-package-release | |
- name: Tag | |
run: .github/scripts/tag-create |