Skip to content

Commit

Permalink
Update apiBreakTest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rozaychen authored Jul 15, 2024
1 parent 1e4264d commit 310a31d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/apiBreakTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,19 @@ jobs:
ref: ${{ github.head_ref }} # Checkout the PR branch
fetch-depth: 1

- name: Fetch the base branch
- name: Fetch the branchs
run: |
git fetch origin ${{ github.event.pull_request.base.ref }} --depth=1
git fetch origin ${{ github.sha }}
- name: List branches after fetch
run: git branch -a

- name: Checkout test-final commit
run: git checkout ${{ github.sha }}

- name: Checkout test-final branch
run: git checkout ${{ github.head_ref }}
- name: Checkout test-final branch
run: git checkout ${{ github.sha }}

- name: Setup and Run Swift API Diff
env:
Expand Down

0 comments on commit 310a31d

Please sign in to comment.