Skip to content

Commit 44ba6e3

Browse files
committed
adding publication to pypi
1 parent a89648f commit 44ba6e3

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/OnRelease.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -102,23 +102,23 @@ jobs:
102102
with:
103103
repository-url: https://test.pypi.org/legacy/
104104

105-
# publish-pypi:
106-
# name: Publish to PyPI
107-
# needs: build-python
108-
# runs-on: ubuntu-latest
109-
# environment:
110-
# name: pypi
111-
# url: https://pypi.org/p/gamuLogger
112-
# permissions:
113-
# id-token: write
105+
publish-pypi:
106+
name: Publish to PyPI
107+
needs: build-python
108+
runs-on: ubuntu-latest
109+
environment:
110+
name: pypi
111+
url: https://pypi.org/p/gamuLogger
112+
permissions:
113+
id-token: write
114114

115-
# steps:
116-
# - name: Download artifact
117-
# uses: actions/download-artifact@v4
118-
# with:
119-
# name: python-package-distributions
120-
# path: dist/
121-
# - name: Publish to PyPI
122-
# uses: pypa/gh-action-pypi-publish@release/v1
115+
steps:
116+
- name: Download artifact
117+
uses: actions/download-artifact@v4
118+
with:
119+
name: python-package-distributions
120+
path: dist/
121+
- name: Publish to PyPI
122+
uses: pypa/gh-action-pypi-publish@release/v1
123123

124124
#endregion

0 commit comments

Comments
 (0)