Skip to content

Commit

Permalink
use git cli for checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
robandpdx committed Dec 19, 2023
1 parent 9b10367 commit 7066e82
Showing 1 changed file with 30 additions and 5 deletions.
35 changes: 30 additions & 5 deletions .github/workflows/jobs-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ jobs:
image: evolvedbinary/rocksjava:centos6_x64-be
options: --shm-size=16gb
steps:
- uses: actions/checkout@v2.7.0 # see https://github.com/actions/checkout/issues/1474
- name: Checkout
env:
GH_TOKEN: ${{ github.token }}
run: |
git clone https://oath2:$GH_TOKEN@github.com/${{ github.repository }}.git .
git checkout ${{ github.head_ref }}
- uses: "./.github/actions/pre-steps"
- name: Set Java Environment
run: |-
Expand All @@ -42,7 +47,12 @@ jobs:
image: evolvedbinary/rocksjava:centos6_x64-be
options: --shm-size=16gb
steps:
- uses: actions/checkout@v3.5.3 # see https://github.com/actions/checkout/issues/1474
- name: Checkout
env:
GH_TOKEN: ${{ github.token }}
run: |
git clone https://oath2:$GH_TOKEN@github.com/${{ github.repository }}.git .
git checkout ${{ github.head_ref }}
- uses: "./.github/actions/pre-steps"
- name: Set Java Environment
run: |-
Expand All @@ -59,7 +69,12 @@ jobs:
image: evolvedbinary/rocksjava:centos6_x64-be
options: --shm-size=16gb
steps:
- uses: actions/checkout@v3.6.0 # see https://github.com/actions/checkout/issues/1474
- name: Checkout
env:
GH_TOKEN: ${{ github.token }}
run: |
git clone https://oath2:$GH_TOKEN@github.com/${{ github.repository }}.git .
git checkout ${{ github.head_ref }}
- uses: "./.github/actions/pre-steps"
- name: Set Java Environment
run: |-
Expand All @@ -76,7 +91,12 @@ jobs:
image: evolvedbinary/rocksjava:centos6_x64-be
options: --shm-size=16gb
steps:
- uses: actions/checkout@v4.0.0 # see https://github.com/actions/checkout/issues/1474
- name: Checkout
env:
GH_TOKEN: ${{ github.token }}
run: |
git clone https://oath2:$GH_TOKEN@github.com/${{ github.repository }}.git .
git checkout ${{ github.head_ref }}
- uses: "./.github/actions/pre-steps"
- name: Set Java Environment
run: |-
Expand All @@ -93,7 +113,12 @@ jobs:
image: evolvedbinary/rocksjava:centos6_x64-be
options: --shm-size=16gb
steps:
- uses: actions/checkout@v4.1.1 # see https://github.com/actions/checkout/issues/1474
- name: Checkout
env:
GH_TOKEN: ${{ github.token }}
run: |
git clone https://oath2:$GH_TOKEN@github.com/${{ github.repository }}.git .
git checkout ${{ github.head_ref }}
- uses: "./.github/actions/pre-steps"
- name: Set Java Environment
run: |-
Expand Down

0 comments on commit 7066e82

Please sign in to comment.