Skip to content

Commit

Permalink
Update jcommon_package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wtt40122 authored Sep 26, 2023
1 parent 6525bbc commit 17b69b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/jcommon_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
check-build-8:
name: Jcommon test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/jdk8'
if: (github.event == 'pull_request' && github.head_ref == 'refs/heads/jdk8')
steps:
- name: Setup Maven Action
uses: s4u/[email protected]
Expand All @@ -28,7 +28,7 @@ jobs:
check-build-20:
name: Jcommon test 20
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.event == 'workflow_dispatch'
if: (github.event == 'pull_request' && github.head_ref == 'refs/heads/master')
steps:
- name: Setup Maven Action
uses: s4u/[email protected]
Expand Down

0 comments on commit 17b69b4

Please sign in to comment.