From 5b1ff58c7bf9ef693283fd76d42e4fb15308ad16 Mon Sep 17 00:00:00 2001 From: doodspav Date: Sat, 23 Dec 2023 05:11:49 +0000 Subject: [PATCH] GHI #20 Go into git repo to execute git command --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7bd686b7f..a5a9e77e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -329,7 +329,9 @@ jobs: - name: Publish Coverage in Job Summary run: | + cd ./patomic sha="$(git rev-parse HEAD)" + cd .. echo "Results for commit [${sha::8}](${{ github.server_url }}/${{ github.repository }}/commit/${sha})" >> ./patomic.md echo "$(cat ./patomic.md)" >> $GITHUB_STEP_SUMMARY