Skip to content

Commit ab64a60

Browse files
authored
ci: Updated the trigger for the release job (#176)
* ci: Updated release job * ci: Updated release trigger
1 parent 66ebdc8 commit ab64a60

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
jobs:
88
pypi-publish:
9+
if: "!github.event.release.prerelease"
910
runs-on: ubuntu-latest
1011
steps:
1112
- uses: actions/checkout@v2
@@ -55,6 +56,7 @@ jobs:
5556
python -c "import torchcam; print(torchcam.__version__)"
5657
5758
conda-publish:
59+
if: "!github.event.release.prerelease"
5860
runs-on: ubuntu-latest
5961
steps:
6062
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)