Skip to content

Commit

Permalink
Run test on prereleases
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnz committed May 28, 2024
1 parent 1ca1893 commit 9c09390
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: publish-release

on:
release:
types: [ created ]
types:
- published


jobs:
Expand Down Expand Up @@ -30,6 +31,7 @@ jobs:
publish-test:
runs-on: ubuntu-latest
needs: package
if: github.event.release.prerelease
environment:
name: testpypi
url: https://test.pypi.org/p/animatedledstrip-client
Expand All @@ -50,6 +52,7 @@ jobs:
# publish:
# runs-on: ubuntu-latest
# needs: package
# if: "!github.event.release.prerelease"
# environment:
# name: pypi
# url: https://pypi.org/p/animatedledstrip-client
Expand Down

0 comments on commit 9c09390

Please sign in to comment.