Skip to content

Release asyncord

Release asyncord #1

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/asyncord/.github/workflows/tests.yml@main

Check failure on line 14 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yml" -> "vadim-su/asyncord/.github/workflows/tests.yml@main" (source branch with sha:27bf7df4feffcfec7775aa2ec93887f20e9ad45a) : workflow is not reusable as it is missing a `on.workflow_call` trigger
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