Skip to content

Commit

Permalink
Merge pull request #165 from smart-on-fhir/mikix/pypi-action
Browse files Browse the repository at this point in the history
Add pypi action to automate releases
  • Loading branch information
mikix authored Jul 22, 2024
2 parents 15f755b + d543f01 commit dc211e3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: PyPI

on:
release:
types: [created]

jobs:
publish:
runs-on: ubuntu-latest

permissions:
id-token: write # this permission is required for PyPI "trusted publishing"

steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build
run: python -m build

- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit dc211e3

Please sign in to comment.