/
niceSOFT
/
python3-installer
Обзор
Документация
Войти
/
niceSOFT
/
python3-installer
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/release.yml
43 строки
992 B
Bartosz Sokorski
Add release pipeline with Trusted Publishing (#306)
28 мар 2026, 17:14
Не верифицирован
28 мар 2026, 17:14
497a6cd
Код
Авторство
О чём код?
name: Release on: release: types: [published] permissions: {} jobs: build: name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false - run: pipx run build - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: distfiles path: dist/ if-no-files-found: error upload-pypi: name: Upload (PyPI) runs-on: ubuntu-latest environment: name: release url: https://pypi.org/project/installer/ permissions: id-token: write needs: build steps: - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: name: distfiles path: dist/ - uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0 with: print-hash: true