@@ -58,10 +58,10 @@ jobs:
58
58
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
59
59
fi
60
60
- name : Checkout
61
- run : |
62
- echo "Source branch name: ${{ github.head_ref }}"
63
- echo "Target branch name: ${{ github.base_ref }}"
64
- git clone -- depth 1 -b "${{ github.head_ref }}" "https://github.com/${{ github.event.pull_request.head.repo.full_name }}" "${{ github.workspace }}"
61
+ uses : actions/checkout@v3
62
+ with :
63
+ submodules : false
64
+ fetch- depth: 0
65
65
- name : Build a package
66
66
run : source scripts/build.sh
67
67
- name : Saving all wheels
@@ -101,10 +101,10 @@ jobs:
101
101
run : find . -mindepth 1 -delete
102
102
working-directory : ${{ github.workspace }}
103
103
- name : Checkout
104
- run : |
105
- echo "Source branch name: ${{ github.head_ref }}"
106
- echo "Target branch name: ${{ github.base_ref }}"
107
- git clone -- depth 1 --recurse-submodules -b "${{ github.head_ref }}" "https://github.com/${{ github.event.pull_request.head.repo.full_name }}" "${{ github.workspace }}"
104
+ uses : actions/checkout@v3
105
+ with :
106
+ submodules : true
107
+ fetch- depth: 0
108
108
- name : Setup Environment variables
109
109
run : if [ "3.10" == "${{ matrix.python-version }}" -o "3.11" == "${{ matrix.python-version }}" -o "3.12" == "${{ matrix.python-version }}" -o "3.13" == "${{ matrix.python-version }}" ]; then echo "TEST_DEPENDS=$(echo $NP_TEST_DEP_LATEST)" >> $GITHUB_ENV; else echo "TEST_DEPENDS=$(echo $NP_TEST_DEP)" >> $GITHUB_ENV; fi
110
110
- name : Download a wheel accordingly to matrix
@@ -155,10 +155,10 @@ jobs:
155
155
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
156
156
fi
157
157
- name : Checkout
158
- run : |
159
- echo "Source branch name: ${{ github.head_ref }}"
160
- echo "Target branch name: ${{ github.base_ref }}"
161
- git clone -- depth 1 -b "${{ github.head_ref }}" "https://github.com/${{ github.event.pull_request.head.repo.full_name }}" "${{ github.workspace }}"
158
+ uses : actions/checkout@v3
159
+ with :
160
+ submodules : false
161
+ fetch- depth: 0
162
162
- name : Set up Python ${{ matrix.python-version }}
163
163
uses : actions/setup-python@v4
164
164
with :
0 commit comments