Skip to content

Commit 8ed94a5

Browse files
committed
Github action: Put git sha into clang-tidy log file name
1 parent dcf753c commit 8ed94a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/clang-tidy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ jobs:
4747
- uses: ./.github/actions/install-from-git
4848
- uses: ./.github/actions/cmake
4949
- name: Run clang-tidy
50-
run: make clang-tidy | tee osmium-tool-clang-tidy-${{ matrix.clang }}.log
50+
run: make clang-tidy | tee osmium-tool-${{ github.sha }}-clang-tidy-${{ matrix.clang }}.log
5151
shell: bash
5252
working-directory: build
5353
- name: Upload clang-tidy log
5454
uses: actions/upload-artifact@v4
5555
if: always()
5656
with:
57-
name: osmium-tool-clang-tidy-${{ matrix.clang }}-log
58-
path: build/osmium-tool-clang-tidy-${{ matrix.clang }}.log
57+
name: osmium-tool-${{ github.sha }}-clang-tidy-${{ matrix.clang }}-log
58+
path: build/osmium-tool-${{ github.sha }}-clang-tidy-${{ matrix.clang }}.log

0 commit comments

Comments
 (0)