File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change 1212 java-version :
1313 type : string
1414 required : true
15+ default : ' 17'
1516 branch :
1617 type : string
1718 required : true
19+ default : ' main'
1820 repository :
1921 type : string
2022 default : ' '
2123 native-modules :
2224 type : string
2325 required : true
26+ default : ' integration-tests,samples'
27+ workflow_dispatch :
28+ quarkus-pr :
29+ type : string
30+ required : true
2431
2532jobs :
2633 build :
2734 runs-on : ubuntu-latest
2835
2936 steps :
30- - uses : actions/checkout@v3
37+ - uses : actions/checkout@v4
3138 with :
3239 ref : ${{ inputs.branch }}
3340 repository : ${{ inputs.repository }}
3946 java-version : ${{ inputs.java-version }}
4047 cache : ' maven'
4148
49+ - name : Check-out Quarkus if building from PR is requested
50+ uses : actions/checkout@v4
51+ if : " ${{ inputs.quarkus-pr != '' }}"
52+ with :
53+ repository : quarkusio/quarkus
54+ path : quarkus
55+
56+ - name : Build Quarkus PR if requested
57+ if : " ${{ inputs.quarkus-pr != '' }}"
58+ run : |
59+ cd quarkus
60+ git fetch origin pull/${{ github.event.inputs.quarkus_pr }}/head:pr-to-check
61+ git switch pr-to-check
62+ mvn -Dquickly
63+ cd -
64+
4265 - name : Retrieve Quarkus version from platform
4366 if : " ${{ inputs.quarkus-version == '' }}"
4467 id : get-quarkus-version
5679 if [[ -n "${{ inputs.quarkus-version }}" ]]; then
5780 quarkus_version="${{ inputs.quarkus-version }}"
5881 fi
82+ if [[ -n "${{ inputs.quarkus-pr }}" ]]; then
83+ quarkus_version='999-SNAPSHOT'
84+ fi
5985 echo "quarkus_version=${quarkus_version}" >> $GITHUB_OUTPUT
6086
6187 - name : Change Quarkus version
You can’t perform that action at this time.
0 commit comments