Skip to content

Commit dc211e3

Browse files
authored
Merge pull request #165 from smart-on-fhir/mikix/pypi-action
Add pypi action to automate releases
2 parents 15f755b + d543f01 commit dc211e3

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/pypi.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: PyPI
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
11+
permissions:
12+
id-token: write # this permission is required for PyPI "trusted publishing"
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install build
21+
22+
- name: Build
23+
run: python -m build
24+
25+
- name: Publish
26+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)