Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,14 @@ jobs:
- name: Test with pytest
run: |
pytest

deploy:
if: (github.repository == 'yungwine/pytoniq') && (github.event_name == 'push')
needs: build
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read

steps:
- uses: actions/checkout@v3
Expand All @@ -55,6 +59,14 @@ jobs:
pip install build
- name: Build package
run: python -m build

# 🛡️ ProofCore: Cryptographic supply-chain notarization for PyPI distribution packages
- name: Notarize PyPI Distribution Packages via ProofCore
uses: ProofCore-Protocol/proofcore-action@v1
continue-on-error: true
with:
files: "dist/*"

- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
Expand Down