Skip to content

Commit

Permalink
Fix get_base_branch_head
Browse files Browse the repository at this point in the history
  • Loading branch information
takahirom authored Mar 27, 2024
1 parent 49716a2 commit c92aad6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/CompareScreenshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
actions: write # for upload-artifact

steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

- name: Checkout base branch
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
ref: ${{ github.base_ref }}
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
with:
Expand All @@ -35,6 +36,9 @@ jobs:
id: get_base_branch_head
run: echo "sha=$(git rev-parse origin/${{ github.base_ref }})" >> "$GITHUB_OUTPUT"

- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

- uses: dawidd6/action-download-artifact@v2
continue-on-error: true
with:
Expand Down

0 comments on commit c92aad6

Please sign in to comment.