Skip to content

Commit

Permalink
update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
epistoteles committed Jun 16, 2024
1 parent 0a400c5 commit 9ddfbb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# separate terms of service, privacy policy, and support
# documentation.

name: Upload Python Package to PyPi
name: Release python package on PyPi

on:
release:
Expand All @@ -16,10 +16,12 @@ permissions:
contents: read

jobs:
deploy:
pypi-publish:

runs-on: ubuntu-latest
environment: release
permissions:
id-token: write

steps:
- uses: actions/checkout@v4
Expand All @@ -34,7 +36,4 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion tensorhue/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from tensorhue.viz import viz, _viz


__version__ = "0.0.7" # single source of version truth
__version__ = "0.0.8" # single source of version truth

__all__ = ["set_printoptions", "viz", "pride"]

Expand Down

0 comments on commit 9ddfbb4

Please sign in to comment.