Skip to content

Commit

Permalink
checkout pr code to do ci. (#12529)
Browse files Browse the repository at this point in the history
  • Loading branch information
KomachiSion committed Aug 21, 2024
1 parent c2e5ee6 commit 195f5c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- if: github.event_name == 'pull_request_target'
run: echo "REF=refs/pull/${{ github.event.number }}/merge" >> "$GITHUB_ENV"
- name: "Checkout"
uses: actions/checkout@v4
with:
ref: ${{ env.REF }}
- name: "Set up JDK ${{ matrix.java }}"
uses: actions/setup-java@v4
with:
Expand Down

0 comments on commit 195f5c4

Please sign in to comment.