Skip to content

prep for 2.4.0rc1

prep for 2.4.0rc1 #38

Workflow file for this run

name: Tidy3d Release
on:
push:
tags:
- 'v*.*.*'
jobs:
github-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pypi-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools wheel twine build
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m build
python -m twine upload --repository pypi dist/*