diff --git a/.github/actions/create-checkbox-canary-test-job/action.yaml b/.github/actions/create-checkbox-canary-test-job/action.yaml index 3defb87ee..94798866f 100644 --- a/.github/actions/create-checkbox-canary-test-job/action.yaml +++ b/.github/actions/create-checkbox-canary-test-job/action.yaml @@ -17,7 +17,8 @@ runs: steps: - shell: bash run: | - cat << JOB_EOF > job.yaml + OUTPUT_PATH=${{ github.workspace }}/job.yaml + cat << JOB_EOF > $OUTPUT_PATH job_queue : ${{ inputs.queue }} global_timeout: 3600 output_timeout: 1800 @@ -83,4 +84,4 @@ runs: PYTHONUNBUFFERED=1 checkbox-cli control \$DEVICE_IP canary.launcher EXITCODE=\$? JOB_EOF - cat job.yaml \ No newline at end of file + echo "job=$OUTPUT_PATH" >> $GITHUB_OUTPUT \ No newline at end of file diff --git a/.github/workflows/checkbox-canary-test.yaml b/.github/workflows/checkbox-canary-test.yaml index 4e078a27b..3c078bf22 100644 --- a/.github/workflows/checkbox-canary-test.yaml +++ b/.github/workflows/checkbox-canary-test.yaml @@ -34,4 +34,4 @@ jobs: - name: Verify job shell: bash run: - echo ${{ steps.create-job.outputs.job }} + cat ${{ steps.create-job.outputs.job }}