Pass github.sha as git rev.

This commit is contained in:
Bartosz Taudul 2024-09-20 22:09:30 +02:00
parent c3cf13fc64
commit 650e1b9739
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ jobs:
run: brew install pkg-config glfw meson run: brew install pkg-config glfw meson
- name: Profiler GUI - name: Profiler GUI
run: | run: |
cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }}
cmake --build profiler/build --parallel --config Release cmake --build profiler/build --parallel --config Release
- name: Update utility - name: Update utility
run: | run: |

View File

@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Profiler GUI - name: Profiler GUI
run: | run: |
cmake -G Ninja -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_TOOLCHAIN_FILE=${{env.EMSDK}}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake cmake -G Ninja -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=MinSizeRel -DGIT_REV=${{ github.sha }} -DCMAKE_TOOLCHAIN_FILE=${{env.EMSDK}}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake
cmake --build profiler/build --parallel cmake --build profiler/build --parallel
- name: Compress artifacts - name: Compress artifacts
run: | run: |

View File

@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Profiler GUI - name: Profiler GUI
run: | run: |
cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }}
cmake --build profiler/build --parallel cmake --build profiler/build --parallel
- name: Update utility - name: Update utility
run: | run: |