File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -99,14 +99,15 @@ jobs:
99
99
cmake --install build --prefix installation
100
100
popd
101
101
{% endfor %}
102
- mkdir -p ${{ github.repository }}
103
- pushd ${{ github.repository }}
102
+ set REPO=${{ github.event.pull_request.head.repo.full_name || github.repository }}
103
+ mkdir -p %REPO%
104
+ pushd %REPO%
104
105
git init
105
- git remote add origin ${{ github.server_url }}/${{ github.repository }}
106
+ git remote add origin ${{ github.server_url }}/%REPO%
106
107
git fetch origin ${{ github.sha }}
107
108
git reset --hard FETCH_HEAD
108
109
popd
109
- cmake -G Ninja -S ${{ github.repository }} -B build \
110
+ cmake -G Ninja -S %REPO% -B build \
110
111
{% for name in dependencies %}
111
112
{% set org, proj = name.split('/') %}
112
113
-D{{proj}}_ROOT=$BASEDIR/{{name}}/installation \
You can’t perform that action at this time.
0 commit comments