We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6768fdb commit ea25dc1Copy full SHA for ea25dc1
.github/workflows/build-hpc.yml
@@ -99,14 +99,15 @@ jobs:
99
cmake --install build --prefix installation
100
popd
101
{% endfor %}
102
- mkdir -p ${{ github.repository }}
103
- pushd ${{ github.repository }}
+ REPO=${{ github.event.pull_request.head.repo.full_name || github.repository }}
+ mkdir -p $REPO
104
+ pushd $REPO
105
git init
- git remote add origin ${{ github.server_url }}/${{ github.repository }}
106
+ git remote add origin ${{ github.server_url }}/$REPO
107
git fetch origin ${{ github.sha }}
108
git reset --hard FETCH_HEAD
109
- cmake -G Ninja -S ${{ github.repository }} -B build \
110
+ cmake -G Ninja -S $REPO -B build \
111
{% for name in dependencies %}
112
{% set org, proj = name.split('/') %}
113
-D{{proj}}_ROOT=$BASEDIR/{{name}}/installation \
0 commit comments