Skip to content

Commit 4807bc2

Browse files
committed
I'll be back...
1 parent 04a9003 commit 4807bc2

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/buildtools.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ jobs:
4040
- name: Checkout repository
4141
uses: actions/checkout@v4
4242
with:
43+
# Forces checkout of the branch head instead of a specific commit SHA
44+
ref: ${{ github.ref }}
4345
submodules: true
44-
path: master
46+
path: repo
4547

4648
- name: Install dependencies (Ubuntu)
4749
if: matrix.os == 'ubuntu-latest'
@@ -64,14 +66,14 @@ jobs:
6466
6567
- name: Remove pre-built binaries
6668
run: |
67-
pushd master/examples/${{ matrix.directory }}
69+
pushd repo/examples/${{ matrix.directory }}
6870
ls -lhai
6971
rm ${{ matrix.buildname }} || true
7072
popd
7173
7274
- name: Configure and build ${{ matrix.buildname }}
7375
run: |
74-
pushd master/examples/${{ matrix.directory }}
76+
pushd repo/examples/${{ matrix.directory }}
7577
cmake -S . -B build && cmake --build build -j$(nproc)
7678
ls -lhai
7779
popd
@@ -81,6 +83,6 @@ jobs:
8183
with:
8284
name: ${{ matrix.buildname }}-${{ matrix.os }}
8385
path: |
84-
master/examples/${{ matrix.directory }}/${{ matrix.buildname }}
85-
${{ matrix.os == 'windows-2022' && format('master/examples/{0}/*.dll', matrix.directory) || '' }}
86+
repo/examples/${{ matrix.directory }}/${{ matrix.buildname }}
87+
${{ matrix.os == 'windows-2022' && format('repo/examples/{0}/*.dll', matrix.directory) || '' }}
8688
if-no-files-found: ignore

0 commit comments

Comments
 (0)