Skip to content

Merge pull request #61 from krassowski/add-code-server-icon #73

Merge pull request #61 from krassowski/add-code-server-icon

Merge pull request #61 from krassowski/add-code-server-icon #73

Workflow file for this run

name: Build and upload to PyPI
on:
push:
pull_request:
release:
types: [published]
jobs:
build_artifacts:
name: Build artifacts
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v4
- name: Fetch full git history
run: git fetch --prune --unshallow
- name: Set up Conda env
uses: mamba-org/setup-micromamba@422500192359a097648154e8db4e39bdb6c6eed7
with:
environment-file: environment.yml
cache-environment: true
- shell: bash -el {0}
run:
python -m build
- uses: pypa/[email protected]
if: github.event_name == 'release'
with:
user: __token__
password: ${{ secrets.PYPI_RELEASE_TOKEN }}