File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 SHELLOPTS : errexit:pipefail
1818
1919jobs :
20+ check_distribute_and_build :
21+ runs-on : ubuntu-latest
22+ name : Check and build distribute if needed
23+ steps :
24+ - uses : actions/checkout@v4
25+ - name : Check if distribute directory exists
26+ id : check_distribute
27+ run : |
28+ if [ ! -d "distribute" ]; then
29+ echo "distribute_exists=false" >> $GITHUB_OUTPUT
30+ else
31+ echo "distribute_exists=true" >> $GITHUB_OUTPUT
32+ fi
33+ - name : Trigger build-distribute workflow
34+ if : steps.check_distribute.outputs.distribute_exists == 'false'
35+ uses : ./.github/workflows/build-distribute.yml
36+ with :
37+ ref : ${{ github.ref }}
2038 list_all_versions :
2139 runs-on : ubuntu-latest
2240 name : List all package versions (including deps).
Original file line number Diff line number Diff line change 1414 DEBUG : false
1515 SHELLOPTS : errexit:pipefail
1616jobs :
17+ check_distribute_and_build :
18+ runs-on : ubuntu-latest
19+ name : Check and build distribute if needed
20+ steps :
21+ - uses : actions/checkout@v4
22+ - name : Check if distribute directory exists
23+ id : check_distribute
24+ run : |
25+ if [ ! -d "distribute" ]; then
26+ echo "distribute_exists=false" >> $GITHUB_OUTPUT
27+ else
28+ echo "distribute_exists=true" >> $GITHUB_OUTPUT
29+ fi
30+ - name : Trigger build-distribute workflow
31+ if : steps.check_distribute.outputs.distribute_exists == 'false'
32+ uses : ./.github/workflows/build-distribute.yml
33+ with :
34+ ref : ${{ github.ref }}
1735 build :
1836 runs-on : ubuntu-latest
1937 steps :
Original file line number Diff line number Diff line change @@ -8,6 +8,24 @@ concurrency:
88permissions : read-all
99
1010jobs :
11+ check_distribute_and_build :
12+ runs-on : ubuntu-latest
13+ name : Check and build distribute if needed
14+ steps :
15+ - uses : actions/checkout@v4
16+ - name : Check if distribute directory exists
17+ id : check_distribute
18+ run : |
19+ if [ ! -d "distribute" ]; then
20+ echo "distribute_exists=false" >> $GITHUB_OUTPUT
21+ else
22+ echo "distribute_exists=true" >> $GITHUB_OUTPUT
23+ fi
24+ - name : Trigger build-distribute workflow
25+ if : steps.check_distribute.outputs.distribute_exists == 'false'
26+ uses : ./.github/workflows/build-distribute.yml
27+ with :
28+ ref : ${{ github.ref }}
1129 trunk_check :
1230 name : Trunk Code Quality Runner
1331 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments