зеркало из
https://github.com/VIGINUM-FR/D3lta.git
synced 2025-10-29 21:16:20 +02:00
style: remove emojis
Этот коммит содержится в:
родитель
c589aebc41
Коммит
0386589b46
23
.github/workflows/publish-to-pypi.yml
поставляемый
23
.github/workflows/publish-to-pypi.yml
поставляемый
@ -1,11 +1,11 @@
|
||||
# derived from https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/#the-whole-ci-cd-workflow
|
||||
name: Publish Python 🐍 distribution 📦 to PyPI
|
||||
name: Publish Python distribution to PyPI
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
unit-test:
|
||||
name: Run unit tests 🤾
|
||||
name: Run unit tests
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@ -25,9 +25,8 @@ jobs:
|
||||
poetry run pytest
|
||||
|
||||
build:
|
||||
name: Build distribution 📦
|
||||
needs:
|
||||
- unit-test
|
||||
name: Build distribution
|
||||
needs: unit-test
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@ -53,11 +52,9 @@ jobs:
|
||||
path: dist/
|
||||
|
||||
publish-to-pypi:
|
||||
name: >-
|
||||
Publish Python 🐍 distribution 📦 to PyPI
|
||||
name: Publish Python distribution to PyPI
|
||||
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
|
||||
needs:
|
||||
- build
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: pypi
|
||||
@ -71,15 +68,15 @@ jobs:
|
||||
with:
|
||||
name: python-package-distributions
|
||||
path: dist/
|
||||
- name: Publish distribution 📦 to PyPI
|
||||
|
||||
- name: Publish distribution to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
|
||||
github-release:
|
||||
name: >-
|
||||
Sign the Python 🐍 distribution 📦 with Sigstore
|
||||
Sign the Python distribution with Sigstore
|
||||
and upload them to GitHub Release
|
||||
needs:
|
||||
- publish-to-pypi
|
||||
needs: publish-to-pypi
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
|
||||
Загрузка…
x
Ссылка в новой задаче
Block a user