Skip to content

Commit

Permalink
Merge pull request #427 from canonical/20241210-hotfix
Browse files Browse the repository at this point in the history
Fix for Testflinger `submit` action
  • Loading branch information
pedro-avalos authored Dec 10, 2024
2 parents 750fe0b + 7aa8b8d commit 8edf971
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/submit/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -116,7 +117,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"
Expand Down

0 comments on commit 8edf971

Please sign in to comment.