From c7023aea4fcf1b1a6cd1803df778ce92530fed67 Mon Sep 17 00:00:00 2001 From: Fred Heinecke Date: Wed, 6 Nov 2024 16:33:06 -0600 Subject: [PATCH] set working dir --- .github/workflows/reusable-cd.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reusable-cd.yaml b/.github/workflows/reusable-cd.yaml index b0d13f93..68e583d5 100644 --- a/.github/workflows/reusable-cd.yaml +++ b/.github/workflows/reusable-cd.yaml @@ -22,7 +22,8 @@ jobs: - name: Checkout repository uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Get the name of the tool - run: echo "TOOL_NAME=$(make tool-name)" >> "${GITHUB_ENV}" + working-directory: ${{ inputs.tool-directory }} + run: set -e; echo "TOOL_NAME=$(make tool-name)" >> "${GITHUB_ENV}" - name: Create event-specific values id: setup run: |