Skip to content

Commit

Permalink
feat: modify action to return text (instead of file) and workflow to …
Browse files Browse the repository at this point in the history
…use it
  • Loading branch information
boukeas committed May 2, 2024
1 parent b610c5b commit 216fe88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/actions/create-checkbox-canary-test-job/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
run: |
OUTPUT_PATH=${{ github.workspace }}/job.yaml
cat << JOB_EOF > $OUTPUT_PATH
job_queue : ${{ inputs.queue }}
job_queue: ${{ inputs.queue }}
global_timeout: 3600
output_timeout: 1800
provision_data:
Expand Down Expand Up @@ -85,4 +85,4 @@ runs:
PYTHONUNBUFFERED=1 checkbox-cli control \$DEVICE_IP canary.launcher
EXITCODE=\$?
JOB_EOF
echo "job=$OUTPUT_PATH" >> $GITHUB_OUTPUT
echo "job=$(cat OUTPUT_PATH)" >> $GITHUB_OUTPUT
2 changes: 1 addition & 1 deletion .github/workflows/checkbox-canary-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Verify job
shell: bash
run:
cat ${{ steps.create-job.outputs.job }}
echo -e ${{ steps.create-job.outputs.job }}

- name: Submit job
uses: canonical/certification-github-workflows/.github/actions/fling-test@testflinger-action-incremental
Expand Down

0 comments on commit 216fe88

Please sign in to comment.