Skip to content

Commit 689a6dd

Browse files
committed
Finish publish workflow
1 parent 758388e commit 689a6dd

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/publish-release.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
publish-test:
3232
runs-on: ubuntu-latest
3333
needs: package
34-
if: "!github.event.release.prerelease"
34+
if: github.event.release.prerelease
3535
environment:
3636
name: testpypi
3737
url: https://test.pypi.org/p/animatedledstrip-client
@@ -49,21 +49,21 @@ jobs:
4949
with:
5050
repository-url: https://test.pypi.org/legacy/
5151

52-
# publish:
53-
# runs-on: ubuntu-latest
54-
# needs: package
55-
# if: "!github.event.release.prerelease"
56-
# environment:
57-
# name: pypi
58-
# url: https://pypi.org/p/animatedledstrip-client
59-
# permissions:
60-
# id-token: write
61-
# steps:
62-
# - name: Download artifact
63-
# uses: actions/[email protected]
64-
# with:
65-
# name: client-python-distributions
66-
# path: dist/
67-
#
68-
# - name: Publish to PyPi
69-
# uses: pypa/gh-action-pypi-publish@release/v1
52+
publish:
53+
runs-on: ubuntu-latest
54+
needs: package
55+
if: "!github.event.release.prerelease"
56+
environment:
57+
name: pypi
58+
url: https://pypi.org/p/animatedledstrip-client
59+
permissions:
60+
id-token: write
61+
steps:
62+
- name: Download artifact
63+
uses: actions/[email protected]
64+
with:
65+
name: client-python-distributions
66+
path: dist/
67+
68+
- name: Publish to PyPi
69+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)