Skip to content

Commit

Permalink
[TASK] Update PYPI action version
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 23eb9a77c567597d28ba25129b9b92e4426b0c36
  • Loading branch information
mckornfield committed Nov 21, 2024
1 parent d862c58 commit c53072c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
jobs:
push:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v1
- name: Setup Python
Expand All @@ -20,13 +22,13 @@ jobs:
- name: Install wheel
run: pip install dist/gretel_trainer-*.whl
- name: Publish to Test PyPi
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{secrets.PY_PI_TEST}}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/
- name: Publish PyPi
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{secrets.PY_PI_PROD}}

0 comments on commit c53072c

Please sign in to comment.