Skip to content

Commit

Permalink
Add basic release action
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Sep 23, 2024
1 parent a873f10 commit 8226da1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: release

on:
workflow_dispatch:

jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/pytorch-finufft
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Build wheels
run: |
python -m pip install build
python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip_existing: true

0 comments on commit 8226da1

Please sign in to comment.