* update versions in workflow

* only with tag

* more ref updates
Этот коммит содержится в:
Inga Ulusoy 2024-05-31 12:56:55 +02:00 коммит произвёл GitHub
родитель ea18277090
Коммит dd184904f6
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194

12
.github/workflows/release.yml поставляемый
Просмотреть файл

@ -14,9 +14,9 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up Python 3.9 - name: Set up Python 3.9
uses: actions/setup-python@v4 uses: actions/setup-python@v5
with: with:
python-version: 3.9 python-version: "3.9"
- name: install pypa/build - name: install pypa/build
run: >- run: >-
python -m python -m
@ -26,7 +26,7 @@ jobs:
- name: Build distribution - name: Build distribution
run: python -m build run: python -m build
- name: store the dist packages - name: store the dist packages
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: python-package-distributions name: python-package-distributions
path: dist/ path: dist/
@ -44,7 +44,7 @@ jobs:
id-token: write id-token: write
steps: steps:
- name: Download all dists - name: Download all dists
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: python-package-distributions name: python-package-distributions
path: dist/ path: dist/
@ -63,7 +63,7 @@ jobs:
id-token: write # IMPORTANT: mandatory for sigstore id-token: write # IMPORTANT: mandatory for sigstore
steps: steps:
- name: Download all the dists - name: Download all the dists
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: python-package-distributions name: python-package-distributions
path: dist/ path: dist/
@ -107,7 +107,7 @@ jobs:
steps: steps:
- name: Download all the dists - name: Download all the dists
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: python-package-distributions name: python-package-distributions
path: dist/ path: dist/