1111 generate-json-matrix :
1212 name : Tests - Read JSON matrix
1313 runs-on : ubuntu-latest
14- if : " github.repository == 'quarkusio/quarkus-quickstarts' || github.event_name == 'workflow_dispatch'"
14+ if : github.repository == 'quarkusio/quarkus-quickstarts' || github.event_name == 'workflow_dispatch'
1515 outputs :
1616 matrix : ${{ steps.generate.outputs.matrix }}
1717 steps :
@@ -23,11 +23,14 @@ jobs:
2323 json=$(.github/generate-native-matrix.sh | tr -d '\n')
2424 echo "matrix=${json}" >> $GITHUB_OUTPUT
2525
26- linux- build-native :
26+ build-with -native :
2727 name : Linux - Native build
2828 runs-on : ubuntu-24.04-arm
2929 needs : [ generate-json-matrix ]
30- if : " github.repository == 'quarkusio/quarkus-quickstarts' || github.event_name == 'workflow_dispatch'"
30+ if : github.repository == 'quarkusio/quarkus-quickstarts' || github.event_name == 'workflow_dispatch'
31+ outputs :
32+ quarkus-sha : ${{ steps.build-quarkus.outputs.sha }}
33+ project-sha : ${{ steps.project-sha.outputs.sha }}
3134 strategy :
3235 fail-fast : false
3336 max-parallel : 3
3639 - uses : actions/checkout@v4
3740 with :
3841 ref : ${{ github.event_name == 'workflow_dispatch' && github.event.ref || 'development' }}
42+ - name : Get current SHA
43+ id : project-sha
44+ run : |
45+ echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
3946 - name : Reclaim Disk Space
4047 run : .github/ci-prerequisites.sh
4148 - name : Get Date
6067 cache : ' maven'
6168
6269 - name : Build Quarkus main
70+ id : build-quarkus
6371 run : |
72+ echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
6473 git clone https://github.com/quarkusio/quarkus.git
6574 cd quarkus
6675 ./mvnw -T1C -e -B --settings .github/mvn-settings.xml clean install -Dquickly-ci
95104 build-report :
96105 runs-on : ubuntu-latest
97106 name : Build report
98- needs : [ linux- build-native ]
107+ needs : [ build-with -native ]
99108 if : always()
100109 steps :
101110 - uses : actions/download-artifact@v4
@@ -114,15 +123,17 @@ jobs:
114123 report :
115124 name : Report
116125 runs-on : ubuntu-latest
117- needs : [ linux- build-native ]
118- if : " always() && github.repository == 'quarkusio/quarkus-quickstarts'"
126+ needs : [ build-with -native ]
127+ if : always() && github.repository == 'quarkusio/quarkus-quickstarts'
119128 steps :
120129 - uses : actions/checkout@v4
121130 with :
122131 ref : ${{ github.event_name == 'workflow_dispatch' && github.event.ref || 'development' }}
123132 - uses : quarkusio/report-status-in-issue@main
124133 with :
125134 github-token : ${{ secrets.GITHUB_API_TOKEN }}
126- status : ${{ needs.linux- build-native.result == 'success' && 'success' || 'failure' }}
135+ status : ${{ needs.build-with -native.result == 'success' && 'success' || 'failure' }}
127136 issue-repository : quarkusio/quarkus
128137 issue-number : 48241
138+ quarkus-sha : ${{ needs.build-with-native.outputs.quarkus-sha }}
139+ project-sha : ${{ needs.build-with-native.outputs.project-sha }}
0 commit comments