Skip to content

Commit

Permalink
Version 0.7.17
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenning committed Mar 17, 2024
1 parent e35c22e commit f8347c9
Showing 1 changed file with 32 additions and 3 deletions.
35 changes: 32 additions & 3 deletions .github/workflows/cicd-publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+.post[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+[a-b][0-9]+"
- "[0-9]+.[0-9]+.[0-9]+rc[0-9]+"

jobs:
build:
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install dependencies
run: pip install flit
- name: Create packages
run: flit build --setup-py
- name: Store package artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: dist

pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
Expand All @@ -8,7 +35,9 @@ jobs:
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
# retrieve your distributions here

- name: Publish package distributions to PyPI
- name: Retrieve package artifacts
uses: actions/download-artifact@v4
- name: Upload packages to PYPI
uses: pypa/gh-action-pypi-publish@release/v1


0 comments on commit f8347c9

Please sign in to comment.