Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Disable upload job from forked repo
  • Loading branch information
antonwolfy committed Apr 23, 2025
commit 1719a00e1d089991116050e6aa3f0ebc67d0a136
8 changes: 6 additions & 2 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,9 @@ jobs:

upload_linux:
needs: test_linux
if: ${{github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/')}}
if: |
(github.repository == 'IntelPython/dpctl') &&
(github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/'))
runs-on: ubuntu-22.04
timeout-minutes: 20
strategy:
Expand Down Expand Up @@ -453,7 +455,9 @@ jobs:

upload_windows:
needs: test_windows
if: ${{github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/')}}
if: |
(github.repository == 'IntelPython/dpctl') &&
(github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/'))
runs-on: windows-2019
timeout-minutes: 20
strategy:
Expand Down