|
59 | 59 | fi
|
60 | 60 | - name: Checkout
|
61 | 61 | run: |
|
62 |
| - echo "PR Author: ${{ env.PR_AUTHOR }}" |
63 |
| - echo "PR Author fork: ${{ env.PR_AUTHOR_FORK }}" |
64 |
| - echo "Source branch name: ${{ env.SOURCE_BRANCH_NAME }}" |
65 |
| - echo "Target branch name: ${{ env.TARGET_BRANCH_NAME }}" |
66 |
| - git clone --depth 1 -b "${{ env.SOURCE_BRANCH_NAME }}" |
| 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 }}" |
67 | 65 | - name: Build a package
|
68 | 66 | run: source scripts/build.sh
|
69 | 67 | - name: Saving all wheels
|
@@ -104,11 +102,9 @@ jobs:
|
104 | 102 | working-directory: ${{ github.workspace }}
|
105 | 103 | - name: Checkout
|
106 | 104 | run: |
|
107 |
| - echo "PR Author: ${{ env.PR_AUTHOR }}" |
108 |
| - echo "PR Author fork: ${{ env.PR_AUTHOR_FORK }}" |
109 |
| - echo "Source branch name: ${{ env.SOURCE_BRANCH_NAME }}" |
110 |
| - echo "Target branch name: ${{ env.TARGET_BRANCH_NAME }}" |
111 |
| - git clone --depth 1 --recurse-submodules -b "${{ env.SOURCE_BRANCH_NAME }}" |
| 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 }}" |
112 | 108 | - name: Setup Environment variables
|
113 | 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
|
114 | 110 | - name: Download a wheel accordingly to matrix
|
@@ -160,11 +156,9 @@ jobs:
|
160 | 156 | fi
|
161 | 157 | - name: Checkout
|
162 | 158 | run: |
|
163 |
| - echo "PR Author: ${{ env.PR_AUTHOR }}" |
164 |
| - echo "PR Author fork: ${{ env.PR_AUTHOR_FORK }}" |
165 |
| - echo "Source branch name: ${{ env.SOURCE_BRANCH_NAME }}" |
166 |
| - echo "Target branch name: ${{ env.TARGET_BRANCH_NAME }}" |
167 |
| - git clone --depth 1 -b "${{ env.SOURCE_BRANCH_NAME }}" |
| 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 }}" |
168 | 162 | - name: Set up Python ${{ matrix.python-version }}
|
169 | 163 | uses: actions/setup-python@v4
|
170 | 164 | with:
|
|
0 commit comments