From d70f1bb7cd728acc73dc2550456a61e945587f2d Mon Sep 17 00:00:00 2001 From: Hook25 Date: Tue, 1 Oct 2024 17:37:25 +0200 Subject: [PATCH] Try to change the path in an action aware way --- .github/actions/checkbox_source_deb/action.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/actions/checkbox_source_deb/action.yaml b/.github/actions/checkbox_source_deb/action.yaml index 980ca62493..0b00207d0e 100644 --- a/.github/actions/checkbox_source_deb/action.yaml +++ b/.github/actions/checkbox_source_deb/action.yaml @@ -43,7 +43,7 @@ runs: INPUT_LAUNCHER_OVERRIDE: ${{ inputs.launcher_override }} INPUT_CHECKBOX_REVISION: ${{ inputs.checkbox_revision }} INPUT_ZAPPER_CHANNEL: ${{ inputs.zapper_channel || 'beta' }} - working-directory: tools/lab_dispatch + working-directory: ${{ github.action_path }}/../../../tools/lab_dispatch run: | echo "::group::Building the testflinger job" if [ -n "$INPUT_DATA_SOURCE" ]; then @@ -61,6 +61,10 @@ runs: echo "::group::Dumping launcher overrides" echo "$INPUT_LAUNCHER_OVERRIDE" | tee launcher_override.conf echo "::endgroup::" + - name: Grosshack + shell: bash + run: | + mv ${{ github.action_path }}/../../../tools/ . - name: Submit and monitor job uses: canonical/testflinger/.github/actions/submit@main with: