Skip to content

Fix workflow tests to use UV for building and publishing package dist… #8

Fix workflow tests to use UV for building and publishing package dist…

Fix workflow tests to use UV for building and publishing package dist… #8

Workflow file for this run

name: Release asyncord
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
run-tests:
uses: vadim-su/asyncord/.github/workflows/tests.yml@main
secrets:
TEST_TOKEN: ${{ secrets.ASYNCORD_TEST_TOKEN }}
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: Install uv
uses: astral-sh/setup-uv@v3
- name: Build package distributions
run: uv build
- name: Publish package distributions to PyPI
run: uv publish