Skip to content

🐛 fix: when the original node in dependencies is also added to the no… #5

🐛 fix: when the original node in dependencies is also added to the no…

🐛 fix: when the original node in dependencies is also added to the no… #5

Workflow file for this run

name: Upload Python Package
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout 📦
uses: actions/checkout@v4
- name: Setup PDM 📦
uses: pdm-project/setup-pdm@v4
with:
python-version: "3.11"
- name: Build package 👷‍♂️
env:
PDM_IGNORE_SCM_VERSION: ${{ github.ref_name }}
run: |
pdm install
pdm build --no-sdist
- name: Upload wheels 👷‍♂️
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist
publish:
runs-on: ubuntu-latest
needs: [build]
permissions:
id-token: write
steps:
- name: Checkout 📦
uses: actions/checkout@v4
- name: Download wheels 👷‍♂️
uses: actions/download-artifact@v4
with:
name: wheels
path: dist
- name: Publish to PyPi 🚀
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
packages-dir: dist
verbose: true