mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 20:54:38 +03:00
chore(ci): fix github actions job dependency
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
9
.github/workflows/publish-to-pypi.yml
vendored
9
.github/workflows/publish-to-pypi.yml
vendored
@@ -30,22 +30,23 @@ jobs:
|
||||
run: python -m build ./
|
||||
- name: twine check
|
||||
run: python -m twine check dist/*
|
||||
- name: upload dists
|
||||
- name: upload dist artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: release-dists
|
||||
name: dists
|
||||
path: dist/
|
||||
|
||||
publish:
|
||||
name: publish Python 🐍 distributions 📦 to PyPI
|
||||
runs-on: ubuntu-22.04
|
||||
needs: build
|
||||
permissions:
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Retrieve release distributions
|
||||
- name: download dist artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: release-dists
|
||||
name: dists
|
||||
path: dist/
|
||||
- name: Publish distribution 📦 to Test PyPI when releases branch
|
||||
if: ${{ startsWith(github.event.ref, 'refs/heads/releases') }}
|
||||
|
||||
Reference in New Issue
Block a user