Skip to content

Commit

Permalink
Remove dependency on actions/checkout
Browse files Browse the repository at this point in the history
Hopefully fix node20 issue on linux build.
  • Loading branch information
olsen232 committed Sep 4, 2024
1 parent cb74bd6 commit e2d7a8a
Showing 1 changed file with 42 additions and 16 deletions.
58 changes: 42 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,13 @@ jobs:
- 3306:3306

steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: "Checkout ${{ github.repository }}"
run: |
git init
git remote add origin https://github.com/${{ github.repository }}.git
git fetch --depth 1 origin ${GITHUB_SHA}
git checkout FETCH_HEAD
git submodule update --init --recursive
#
# setup
Expand Down Expand Up @@ -317,9 +321,13 @@ jobs:
PATH: "/opt/python/cp311-cp311/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/github/home/.cargo/bin:/opt/mssql-tools/bin"

steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: "Checkout ${{ github.repository }}"
run: |
git init
git remote add origin https://github.com/${{ github.repository }}.git
git fetch --depth 1 origin ${GITHUB_SHA}
git checkout FETCH_HEAD
git submodule update --init --recursive
#
# setup
Expand Down Expand Up @@ -604,7 +612,13 @@ jobs:
command -v kart
kart --version
- uses: actions/checkout@v3
- name: "Checkout ${{ github.repository }}"
shell: bash
run: |
git init
git remote add origin https://github.com/${{ github.repository }}.git
git fetch --depth 1 origin ${GITHUB_SHA}
git checkout FETCH_HEAD
- name: e2e test (no helper)
env:
Expand Down Expand Up @@ -643,9 +657,13 @@ jobs:
PY_VER_ID: "cp311-cp311"

steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: "Checkout ${{ github.repository }}"
run: |
git init
git remote add origin https://github.com/${{ github.repository }}.git
git fetch --depth 1 origin ${GITHUB_SHA}
git checkout FETCH_HEAD
git submodule update --init --recursive
#
# setup
Expand Down Expand Up @@ -780,9 +798,13 @@ jobs:
PY_VER_INSTALLER: "https://www.python.org/ftp/python/3.11.6/python-3.11.6-macos11.pkg"

steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: "Checkout ${{ github.repository }}"
run: |
git init
git remote add origin https://github.com/${{ github.repository }}.git
git fetch --depth 1 origin ${GITHUB_SHA}
git checkout FETCH_HEAD
git submodule update --init --recursive
#
# setup
Expand Down Expand Up @@ -1038,9 +1060,13 @@ jobs:
)
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: "Checkout ${{ github.repository }}"
run: |
git init
git remote add origin https://github.com/${{ github.repository }}.git
git fetch --depth 1 origin ${GITHUB_SHA}
git checkout FETCH_HEAD
git submodule update --init --recursive
# Setup

Expand Down

0 comments on commit e2d7a8a

Please sign in to comment.