From 9e4ba0b9fc36bf8d7ada85d7ef65a1d894fb004f Mon Sep 17 00:00:00 2001 From: Ben Carter Date: Thu, 22 Aug 2024 20:01:45 -0400 Subject: [PATCH] added shell to run statements --- .github/actions/build-tag-release/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/actions/build-tag-release/action.yml b/.github/actions/build-tag-release/action.yml index 345cdeb..1cc72be 100644 --- a/.github/actions/build-tag-release/action.yml +++ b/.github/actions/build-tag-release/action.yml @@ -32,14 +32,17 @@ runs: - name: Get repository name id: repo-name + shell: bash run: echo "REPO_NAME=$(basename $GITHUB_REPOSITORY | sed 's|.*/||')" >> $GITHUB_ENV - name: Copy module to container + shell: bash run: | mkdir -p /azerothcore/modules/${{ env.REPO_NAME }} cp -r . /azerothcore/modules/${{ env.REPO_NAME }} - name: Rebuild Modules with Caching + shell: bash run: | cd /azerothcore/build \ && cmake /azerothcore \ @@ -58,9 +61,11 @@ runs: && cmake --build . --config "RelWithDebInfo" -j $(($(nproc) + 1)) - name: Install cppcheck + shell: bash run: apt-get update && apt-get install -y cppcheck - name: cpp check + shell: bash run: | cppcheck --force --inline-suppr --output-file=report.txt /azerothcore/modules/${{ env.REPO_NAME }} if [ -s report.txt ]; then