Merge pull request #154 from tiqi-group/fixci-github-release

CI: fixing github-release ci job
This commit is contained in:
Mose Müller 2024-08-19 10:08:12 +02:00 committed by GitHub
commit 8526e74aa7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,9 +70,9 @@ jobs:
name: python-package-distributions name: python-package-distributions
path: dist/ path: dist/
- name: Sign the dists with Sigstore - name: Sign the dists with Sigstore
uses: sigstore/gh-action-sigstore-python@v1.2.3 uses: sigstore/gh-action-sigstore-python@v3.0.0
with: with:
inputs: >- inputs: |
./dist/*.tar.gz ./dist/*.tar.gz
./dist/*.whl ./dist/*.whl
- name: Upload artifact signatures to GitHub Release - name: Upload artifact signatures to GitHub Release
@ -85,27 +85,3 @@ jobs:
gh release upload gh release upload
'${{ github.ref_name }}' dist/** '${{ github.ref_name }}' dist/**
--repo '${{ github.repository }}' --repo '${{ github.repository }}'
# publish-to-testpypi:
# name: Publish Python 🐍 distribution 📦 to TestPyPI
# needs:
# - build
# runs-on: ubuntu-latest
#
# environment:
# name: testpypi
# url: https://test.pypi.org/p/pydase
#
# permissions:
# id-token: write # IMPORTANT: mandatory for trusted publishing
#
# steps:
# - name: Download all the dists
# uses: actions/download-artifact@v3
# with:
# name: python-package-distributions
# path: dist/
# - name: Publish distribution 📦 to TestPyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# repository-url: https://test.pypi.org/legacy/