Skip to content

Update workflow to use correct action path #9

Update workflow to use correct action path

Update workflow to use correct action path #9

Workflow file for this run

name: Publish package to PyPI
on:
push:
tags:
- v*
workflow_dispatch:
permissions:
contents: read
jobs:
run-tests:
uses: vadim-su/fbenum/.github/workflows/tests.yml@main
publish:
runs-on: ubuntu-latest
needs: run-tests
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python with PDM
uses: pdm-project/setup-pdm@v3
with:
cache: true
- name: Publish package distributions to PyPI
run: pdm publish