Skip to content

Commit d78d628

Browse files
author
etotmeni
committed
Add triggers to CI
1 parent 7110541 commit d78d628

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/conda-package.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Conda package
22

3-
on: push
3+
on:
4+
push:
5+
branches:
6+
tags:
47

58
env:
69
PACKAGE_NAME: dpctl
@@ -215,7 +218,7 @@ jobs:
215218
216219
upload_linux:
217220
needs: test_linux
218-
if: ${{ github.ref == 'refs/heads/master' }}
221+
if: ${{ github.ref }} == 'refs/heads/master' || ${{ github.ref }} == 'refs/heads/release*'
219222
runs-on: ubuntu-latest
220223
strategy:
221224
matrix:
@@ -240,7 +243,7 @@ jobs:
240243
241244
upload_windows:
242245
needs: test_windows
243-
if: ${{ github.ref == 'refs/heads/master' }}
246+
if: ${{ github.ref }} == 'refs/heads/master' || ${{ github.ref }} == 'refs/heads/release*'
244247
runs-on: windows-latest
245248
strategy:
246249
matrix:

0 commit comments

Comments
 (0)