Skip to content

Commit

Permalink
fix github actions workflows (#2363)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian committed Feb 22, 2023
1 parent 8bb647d commit ef6c1cd
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 71 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,9 @@ jobs:

build-ovs-and-ovn:
name: Build OVS and OVN
needs:
- filter
needs: filter
runs-on: windows-2019
if: github.event_name != 'pull_request' || needs.filter.outputs.build-ovs-ovn == 'true'
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch' || needs.filter.outputs.build-ovs-ovn == 'true'
steps:
- name: Check out PTHREADS4W
run: |
Expand Down Expand Up @@ -171,10 +170,9 @@ jobs:

build-kube-ovn:
name: Build Kube-OVN
needs:
- filter
needs: filter
runs-on: windows-2019
if: github.event_name != 'pull_request' || needs.filter.outputs.build-kube-ovn == 'true'
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch' || needs.filter.outputs.build-kube-ovn == 'true'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand Down

0 comments on commit ef6c1cd

Please sign in to comment.