Release asyncord #1
Workflow file for this run
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 package to PyPI | ||
on: | ||
push: | ||
tags: | ||
- v* | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
run-tests: | ||
uses: vadim-su/asyncord/.github/workflows/tests.yml@main | ||
Check failure on line 14 in .github/workflows/release.yml GitHub Actions / .github/workflows/release.ymlInvalid workflow file
|
||
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 |