mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 04:34:37 +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 ./
|
run: python -m build ./
|
||||||
- name: twine check
|
- name: twine check
|
||||||
run: python -m twine check dist/*
|
run: python -m twine check dist/*
|
||||||
- name: upload dists
|
- name: upload dist artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: release-dists
|
name: dists
|
||||||
path: dist/
|
path: dist/
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
name: publish Python 🐍 distributions 📦 to PyPI
|
name: publish Python 🐍 distributions 📦 to PyPI
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
needs: build
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
steps:
|
steps:
|
||||||
- name: Retrieve release distributions
|
- name: download dist artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: release-dists
|
name: dists
|
||||||
path: dist/
|
path: dist/
|
||||||
- name: Publish distribution 📦 to Test PyPI when releases branch
|
- name: Publish distribution 📦 to Test PyPI when releases branch
|
||||||
if: ${{ startsWith(github.event.ref, 'refs/heads/releases') }}
|
if: ${{ startsWith(github.event.ref, 'refs/heads/releases') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user