Skip to content

πŸ€– Update dependencies (#167) #6

πŸ€– Update dependencies (#167)

πŸ€– Update dependencies (#167) #6

Workflow file for this run

name: πŸ› Publish to PyPi
on:
workflow_dispatch:
push:
tags:
- '*'
jobs:
build:
name: πŸ“¦ Build package
runs-on: ubuntu-latest
steps:
- name: πŸ“° Checkout
uses: actions/checkout@v4
- name: πŸ“² Setup PDM
uses: pdm-project/setup-pdm@v4
id: setup-python
with:
python-version: 3.x
- name: 🚚 Install dependencies
run: pdm install --prod
- name: πŸ—οΈ Build package
run: pdm build
- name: πŸ›« Export build files
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
publish:
name: πŸ—ž Publish package
needs: build
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
steps:
- name: πŸ›¬ Download artifacts
uses: actions/download-artifact@v4
- name: πŸ—ž Publish package
uses: pypa/gh-action-pypi-publish@release/v1