mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-07-05 16:02:13 +02:00
github-actions: restrict deploy job on release
This commit is contained in:
parent
3dd2e77ca4
commit
15382a4446
1 changed files with 1 additions and 0 deletions
1
.github/workflows/test-and-deploy.yml
vendored
1
.github/workflows/test-and-deploy.yml
vendored
|
|
@ -213,6 +213,7 @@ jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [test-windows, test-linux, test-macos, build-linux, build-windows, build-macos]
|
needs: [test-windows, test-linux, test-macos, build-linux, build-windows, build-macos]
|
||||||
|
if: github.event_name == 'release'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue