Skip to content

Commit

Permalink
feat: publish on pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
dantetemplar committed Aug 12, 2024
1 parent 8140630 commit d315ade
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/listen-swagger-changes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ jobs:
runs-on: ubuntu-latest
needs: check
if: ${{ needs.check.outputs.updated == 'true' }}
environment:
name: pypi
url: https://pypi.org/p/fastapi-swagger
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: "Check out repository 🚚"
uses: actions/checkout@v4
Expand Down Expand Up @@ -112,3 +117,5 @@ jobs:
files: dist/*
tag_name: "v${{ steps.bump.outputs.package_version }}"
body: "Package version: v${{ steps.bump.outputs.package_version }} 🚀\nSwagger UI version: ${{ needs.check.outputs.version }}"
- name: "Publish on PyPI 📦"
uses: pypa/gh-action-pypi-publish@release/v1.9
1 change: 0 additions & 1 deletion latest_release.txt

This file was deleted.

0 comments on commit d315ade

Please sign in to comment.