Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add job step to push to PyPI #104

Merged
merged 2 commits into from
Jun 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Release Python Based RPM
name: Release Python Based RPM and Publish to PyPI
run-name: ${{ github.triggering_actor }} is packaging a release of ${{ github.event.repository.name }}
on:
push:
tags:
- 'v*' # push events matching e.g. v1, v2.1, v10.0.3
workflow_dispatch: # Allow manual triggering of the workflow
push:
tags:
- 'v*' # push events matching e.g. v1, v2.1, v10.0.3

permissions:
contents: read
Expand All @@ -14,6 +15,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:

- name: Checkout code
Expand All @@ -23,6 +25,9 @@ jobs:
id: build_podman_hpc
uses: ./.github/actions/build-podman-hpc

- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 #v1.8.14

- name: Release
id: release
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 #v1
Expand Down