File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 1919 - name : Workflow trigger checkout
2020 uses : actions/checkout@v4
2121
22+ - name : Determine DAILY_BUILD_ID value
23+ run : |
24+ echo "GitHub 'base_ref': ${{ github.base_ref }}"
25+ echo "GitHub 'ref': ${{ github.ref }}"
26+
27+ daily_build_id=
28+ if [[ "${{ github.base_ref }}" == fasttrack/* || "${{ github.ref }}" == refs/heads/fasttrack/* ]]; then
29+ echo "Building against a fast-track branch. Will use PMC RPM repo for reference."
30+ else
31+ echo "Not building against a fast-track branch. Will use daily build LKG RPM repo for reference."
32+ daily_build_id=lkg
33+ fi
34+
35+ echo "DAILY_BUILD_ID is set to '$daily_build_id'"
36+ echo "daily_build_id=$daily_build_id" >> $GITHUB_ENV
37+
2238 - name : Check for circular dependencies
2339 run : |
2440 echo "Checking for circular dependency loops..."
2541 # Setup the toolchain using the LKG daily build, and then make the full package graph.
2642 # This will fail if any circular dependency loops are detected in the core SPECs.
27- sudo make -C toolkit graph REBUILD_TOOLS=y DAILY_BUILD_ID=lkg -j30
43+ sudo make -C toolkit graph REBUILD_TOOLS=y DAILY_BUILD_ID="${{ env.daily_build_id }}" -j30
You can’t perform that action at this time.
0 commit comments