File tree Expand file tree Collapse file tree 4 files changed +18
-3
lines changed
Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,6 @@ jobs:
219219 runs-on : ubuntu-latest
220220 needs : [ codacy-uploader, codecov-uploader ]
221221 steps :
222- - run : echo 'github='"'"'${{ toJson(github) }}'"'"
223222 - run : echo 'codecov='"'"'${{ toJson(needs.codecov-uploader) }}'"'"
224223 - run : echo 'codacy='"'"'${{ toJson(needs.codacy-uploader) }}'"'"
225224# # <<< Trusted - to move to a workflow_run workflow
Original file line number Diff line number Diff line change 66 required : true
77 type : string
88 run-id :
9+ description : |
10+ The id of the workflow run where the artifacts were uploaded from (default to current run).
11+ In case artefacts have been uploadded from another run, this input must be filled with original workflow !
912 required : false
1013 default : " ${{ github.run_id }}"
1114 type : string
3841 with :
3942 pattern : ${{ inputs.artifacts-pattern }}
4043 path : job-artifacts
41- run-id : ${{ inputs.run-id }}
44+ github-token : ${{ github.token }} # Required in order to use `run-id` parameter !
45+ run-id : ${{ inputs.run-id }} # Required in case workflow is executed from another run (e.g. `workflow_run`)
4246
4347 - name : Upload all reports
4448 id : upload
Original file line number Diff line number Diff line change 66 required : true
77 type : string
88 run-id :
9+ description : |
10+ The id of the workflow run where the artifacts were uploaded from (default to current run).
11+ In case artefacts have been uploadded from another run, original workflow run has to be provided as well as `ARTEFACT_DOWNLOAD_TOKEN` secret !
912 required : false
1013 default : " ${{ github.run_id }}"
1114 type : string
3538 with :
3639 pattern : ${{ inputs.artifacts-pattern }}
3740 path : job-artifacts
38- run-id : ${{ inputs.run-id }}
41+ github-token : ${{ github.token }} # Required in order to use `run-id` parameter !
42+ run-id : ${{ inputs.run-id }} # Required in case workflow is executed from another run (e.g. `workflow_run`)
3943
4044 - name : DEBUG artifacts
4145 run : |
@@ -104,6 +108,8 @@ jobs:
104108 with :
105109 name : ${{ matrix.artifact }}
106110 path : job-artifact
111+ github-token : ${{ github.token }} # Required in order to use `run-id` parameter !
112+ run-id : ${{ inputs.run-id }} # Required in case workflow is executed from another run (e.g. `workflow_run`)
107113
108114 - name : DEBUG artifacts
109115 run : |
Original file line number Diff line number Diff line change 2525 secrets :
2626 TOKEN : ${{ secrets.CODECOV_TOKEN }}
2727
28+ debug-context :
29+ name : DEBUG - context
30+ runs-on : ubuntu-latest
31+ steps :
32+ - run : echo 'github event='"'"'${{ toJson(github.event) }}'"'"
33+
2834 debug-uploads :
2935 name : DEBUG - Uploaders
3036 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments