Skip to content

Commit ad06973

Browse files
author
Elena Totmenina
authored
Merge pull request #692 from 1e-to/tag_fix
[Public CI] Return condition for tag upload package
2 parents 29c2cbc + 9163f16 commit ad06973

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/conda-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ jobs:
215215
216216
upload_linux:
217217
needs: test_linux
218-
if: ${{github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true)}}
218+
if: ${{github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/')}}
219219
runs-on: ubuntu-latest
220220
strategy:
221221
matrix:
@@ -240,7 +240,7 @@ jobs:
240240
241241
upload_windows:
242242
needs: test_windows
243-
if: ${{github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true)}}
243+
if: ${{github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/')}}
244244
runs-on: windows-latest
245245
strategy:
246246
matrix:

0 commit comments

Comments
 (0)