|
61 | 61 | run: |
|
62 | 62 | echo "Source branch name: ${{ github.head_ref }}"
|
63 | 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 }}" |
| 64 | + git clone --depth 1 -b "${{ github.head_ref }}" "https://github.com/${{ github.event.pull_request.head.repo.full_name }}" "${{ github.workspace }}" |
65 | 65 | - name: Build a package
|
66 | 66 | run: source scripts/build.sh
|
67 | 67 | - name: Saving all wheels
|
@@ -104,7 +104,7 @@ jobs:
|
104 | 104 | run: |
|
105 | 105 | echo "Source branch name: ${{ github.head_ref }}"
|
106 | 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 }}" |
| 107 | + git clone --depth 1 --recurse-submodules -b "${{ github.head_ref }}" "https://github.com/${{ github.event.pull_request.head.repo.full_name }}" "${{ github.workspace }}" |
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 }}" ]; 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
|
@@ -158,7 +158,7 @@ jobs:
|
158 | 158 | run: |
|
159 | 159 | echo "Source branch name: ${{ github.head_ref }}"
|
160 | 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 }}" |
| 161 | + git clone --depth 1 -b "${{ github.head_ref }}" "https://github.com/${{ github.event.pull_request.head.repo.full_name }}" "${{ github.workspace }}" |
162 | 162 | - name: Set up Python ${{ matrix.python-version }}
|
163 | 163 | uses: actions/setup-python@v4
|
164 | 164 | with:
|
|
0 commit comments