File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Canonical PyPI publish workflow for hawk-eco Python repos.
1+ # PyPI publish workflow - DISABLED: package is not published anywhere.
2+ # If publishing is needed in the future, re-enable and configure:
3+ # - Add PYPI_API_TOKEN secret at https://github.com/GrayCodeAI/hawk-sdk-python/settings/secrets/actions
4+ # - Or fix OIDC trusted publisher at https://pypi.org/manage/account/publishing/
25# Triggered by release-please when it pushes a v* tag.
3- # Source of truth: https://github.com/GrayCodeAI/hawk/blob/main/.shared-templates/workflows/python-release.yml.tmpl
4- #
5- # Uses PyPI Trusted Publishing (OIDC) — no API tokens stored in GitHub.
6- # Configure once at https://pypi.org/manage/account/publishing/
76
87name : release
98
109on :
1110 push :
1211 tags : ["v*"]
1312
14- permissions :
15- contents : read
16- id-token : write # required for PyPI Trusted Publishing
13+ permissions : {} # disabled
1714
1815jobs :
1916 build-and-publish :
2017 runs-on : ubuntu-latest
21- environment :
22- name : pypi
23- url : https://pypi.org/p/hawk-sdk
24- steps :
25- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
26-
27- - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
28- with :
29- python-version : " 3.12"
30-
31- - name : Install build tooling
32- run : |
33- python -m pip install --upgrade pip build
34-
35- - name : Build sdist + wheel
36- run : python -m build
37-
38- - name : Publish to PyPI
39- uses : pypa/gh-action-pypi-publish@release/v1
40- with :
41- packages-dir : dist/
18+ steps : [] # disabled
You can’t perform that action at this time.
0 commit comments