File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,20 @@ jobs:
64
64
go-version : ' 1.23'
65
65
check-latest : true
66
66
67
+ - name : Get latest finished run ID from contrib repo build-and-test
68
+ id : get-run-id
69
+ run : |
70
+ run_id=$(gh run list --branch main --workflow build-and-test --repo open-telemetry/opentelemetry-collector-contrib --limit 1 --json databaseId)
71
+ echo "run_id=$run_id" >> "$GITHUB_OUTPUT"
72
+
67
73
- name : Generate the sources using latest main for ${{ inputs.distribution }}
68
74
if : inputs.latest == true
69
- env :
70
- DISTRIBUTIONS : ${{ inputs.distribution }}
71
- run : make generate-sources-dev
75
+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
76
+ with :
77
+ name : collector-binaries-linux-amd64
78
+ repository : open-telemetry/opentelemetry-collector-contrib
79
+ github-token : ${{ secrets.GITHUB_TOKEN }}
80
+ run-id : ${{ steps.get-run-id.run_id }}
72
81
73
82
- name : Generate the sources for ${{ inputs.distribution }}
74
83
if : inputs.latest != true
You can’t perform that action at this time.
0 commit comments