Merge pull request #3 from jennier0107/dev #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish to pypi | |
"on": | |
push: | |
branches: | |
- main | |
jobs: | |
release_to_pypi: | |
name: Release to PyPI | |
runs-on: ubuntu-latest | |
environment: | |
name: pypi | |
url: https://pypi.org/p/sphinxcontrib-del-marker | |
permissions: | |
id-token: write | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup pdm | |
id: setup-pdm | |
uses: pdm-project/setup-pdm@v4 | |
- name: Check output | |
run: | | |
echo ${{ steps.setup-pdm.outputs.pdm-bin }} | |
echo ${{ steps.setup-pdm.outputs.pdm-version }} | |
echo ${{ steps.setup-pdm.outputs.python-path }} | |
echo ${{ steps.setup-pdm.outputs.python-version }} | |
- name: pypi-publish-by-pdm | |
run: pdm publish |