- commit
- 8bac054254b346a887605cf1d3c26478b728e5f6
- parent
- 57b92b2352f817173a82422a1791e7267aee5f07
- Author
- Tobias Bengfort <bengfort@mpib-berlin.mpg.de>
- Date
- 2025-04-24 16:51
setup CI publishing
Diffstat
| A | .github/workflows/main.yml | 15 | +++++++++++++++ |
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
@@ -0,0 +1,15 @@ -1 1 on: [push] -1 2 jobs: -1 3 publish: -1 4 if: startsWith(github.ref, 'refs/tags') -1 5 runs-on: ubuntu-latest -1 6 permissions: -1 7 id-token: write -1 8 steps: -1 9 - uses: actions/checkout@v4 -1 10 - uses: actions/setup-python@v5 -1 11 - run: pip install build -1 12 - name: build -1 13 run: python3 -m build -1 14 - name: publish -1 15 uses: pypa/gh-action-pypi-publish@release/v1