File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments