From 8ed94a5da2a24b233a77732bfaa8c75fc32ea505 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Tue, 17 Dec 2024 21:59:54 +0100 Subject: [PATCH] Github action: Put git sha into clang-tidy log file name --- .github/workflows/clang-tidy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 9de17f0..b88fec9 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -47,12 +47,12 @@ jobs: - uses: ./.github/actions/install-from-git - uses: ./.github/actions/cmake - name: Run clang-tidy - run: make clang-tidy | tee osmium-tool-clang-tidy-${{ matrix.clang }}.log + run: make clang-tidy | tee osmium-tool-${{ github.sha }}-clang-tidy-${{ matrix.clang }}.log shell: bash working-directory: build - name: Upload clang-tidy log uses: actions/upload-artifact@v4 if: always() with: - name: osmium-tool-clang-tidy-${{ matrix.clang }}-log - path: build/osmium-tool-clang-tidy-${{ matrix.clang }}.log + name: osmium-tool-${{ github.sha }}-clang-tidy-${{ matrix.clang }}-log + path: build/osmium-tool-${{ github.sha }}-clang-tidy-${{ matrix.clang }}.log