Skip to content
This repository was archived by the owner on Oct 12, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
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
8 changes: 6 additions & 2 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ jobs:
FOLDER: docs/_build/html
Publish:
runs-on: ubuntu-latest
# PyPI trusted publishing: uploads accepted only from this workflow in the
# pypi environment (limited to main). No stored token.
environment: pypi
permissions:
contents: write # publish-git-tag.sh pushes the version tag
id-token: write
if: |
(github.repository == 'PolicyEngine/reweight')
&& (github.event.head_commit.message == 'Update reweight')
Expand All @@ -68,6 +74,4 @@ jobs:
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI }}
skip-existing: true
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="reweight",
version="0.3.0",
version="0.3.1",
author="PolicyEngine",
author_email="hello@policyengine.org",
long_description=readme,
Expand Down
Loading