Skip to content

Commit

Permalink
Try git checkout instead of with.ref
Browse files Browse the repository at this point in the history
  • Loading branch information
malliaridis committed Nov 28, 2024
1 parent 00f07e7 commit d22993d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/bin-solr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ jobs:
steps:
# Setup
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- run: git checkout HEAD^
- name: Set up JDK
uses: actions/setup-java@v4
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/dependabot-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
steps:
- name: Checkout project
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- run: git checkout HEAD^

- name: Set up JDK
uses: actions/setup-java@v4
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ jobs:
steps:
# Setup
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- run: git checkout HEAD^
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/gradle-precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:
steps:
# Setup
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- run: git checkout HEAD^

- name: Set up JDK
uses: actions/setup-java@v4
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/solrj-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ jobs:
steps:
# Setup
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- run: git checkout HEAD^
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
Expand Down

0 comments on commit d22993d

Please sign in to comment.