@@ -116,7 +116,7 @@ jobs:
116116 pltools-access-token : ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
117117 with :
118118 arch : ${{ matrix.arch }}
119- pluslib-repository : https://github.com/${{ github.repository }}.git
119+ pluslib-repository : https://github.com/${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github. repository }}.git
120120 pluslib-tag : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
121121 vtk-cache-key : ${{ needs.update_vtk_x64.outputs.cache-key }}
122122 itk-cache-key : ${{ needs.update_itk_x64.outputs.cache-key }}
@@ -154,7 +154,7 @@ jobs:
154154 pltools-access-token : ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
155155 with :
156156 arch : Win32
157- pluslib-repository : https://github.com/${{ github.repository }}.git
157+ pluslib-repository : https://github.com/${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github. repository }}.git
158158 pluslib-tag : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
159159 vtk-cache-key : ${{ needs.update_vtk_Win32.outputs.cache-key }}
160160 itk-cache-key : ${{ needs.update_itk_Win32.outputs.cache-key }}
@@ -196,7 +196,7 @@ jobs:
196196 pltools-access-token : ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
197197 with :
198198 arch : ${{ matrix.arch }}
199- pluslib-repository : https://github.com/${{ github.repository }}.git
199+ pluslib-repository : https://github.com/${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github. repository }}.git
200200 pluslib-tag : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
201201 vtk-cache-key : ${{ needs.update_vtk_static_x64.outputs.cache-key }}
202202 itk-cache-key : ${{ needs.update_itk_static_x64.outputs.cache-key }}
0 commit comments