Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mifeet committed Dec 8, 2024
1 parent 2a7a6ec commit c57da86
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
pipx install poetry
poetry install --no-interaction
poetry run pytest
poetry run black --check
poetry run black --check .
build:
name: 'Build'
Expand Down Expand Up @@ -60,12 +60,26 @@ jobs:
url: https://pypi.org/p/pyfluent-iterables
permissions:
id-token: write
contents: write
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/

- name: Sign the dists with Sigstore
uses: sigstore/[email protected]
with:
inputs: >-
./dist/*.tar.gz
./dist/*.whl
- name: Upload artifact signatures to GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
gh release upload '${{ github.ref }}' dist/** --repo '${{ github.repository }}'
# - name: Publish distribution 📦 to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
- name: Run type check
run: |
poetry run black --check
poetry run black --check .

0 comments on commit c57da86

Please sign in to comment.