From 8b463612931b819ffeb597683253ec97a23bf47b Mon Sep 17 00:00:00 2001 From: George Boukeas Date: Tue, 10 Dec 2024 09:40:12 +0000 Subject: [PATCH 1/2] fix: remove erroneous quotes around `$RELATIVE` --- .github/actions/submit/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/submit/action.yaml b/.github/actions/submit/action.yaml index 64dc0cd8..69159704 100644 --- a/.github/actions/submit/action.yaml +++ b/.github/actions/submit/action.yaml @@ -116,7 +116,7 @@ runs: if [ -n "$RELATIVE_TO" ]; then RELATIVE="--attachments-relative-to $RELATIVE_TO" fi - JOB_ID=$(testflinger --server $SERVER submit --quiet "$RELATIVE" "$JOB") + JOB_ID=$(testflinger --server $SERVER submit --quiet $RELATIVE "$JOB") echo "id=$JOB_ID" >> $GITHUB_OUTPUT echo "::endgroup::" echo "::notice::Submitted job $JOB_ID" From 7aa8b8dfea83c1470463cee13730c1675dd49dbf Mon Sep 17 00:00:00 2001 From: George Boukeas Date: Tue, 10 Dec 2024 15:50:25 +0000 Subject: [PATCH 2/2] fix: install pre-requisites separately --- .github/actions/submit/action.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/submit/action.yaml b/.github/actions/submit/action.yaml index 69159704..521159b6 100644 --- a/.github/actions/submit/action.yaml +++ b/.github/actions/submit/action.yaml @@ -101,7 +101,8 @@ runs: shell: bash run: | echo "::group::Install prerequisites" - sudo snap install testflinger-cli jq + sudo snap install testflinger-cli + sudo snap install jq echo "::endgroup::" - name: Submit job to the Testflinger server