Skip to content

Commit

Permalink
Github action: Put git sha into clang-tidy log file name
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Dec 17, 2024
1 parent dcf753c commit 8ed94a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8ed94a5

Please sign in to comment.