File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 77 tests :
88 description : ' Run tests'
99 default : ' false'
10+ publish :
11+ description : ' Publish artifacts'
12+ default : ' true'
1013runs :
1114 using : composite
1215 steps :
3033 - name : Publish release
3134 shell : bash
3235 if : " github.event_name == 'release'"
33- run : ./gradlew clean publish ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=true -Pdeploy.native=false -Pdeploy.version=${{ github.event.release.tag_name }} --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
36+ run : ./gradlew clean ${{ inputs. publish == 'true' && 'publish' || '' }} ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=true -Pdeploy.native=false -Pdeploy.version=${{ github.event.release.tag_name }} --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
3437
3538 - name : Set outputs
3639 id : vars
3942 - name : Publish snapshot
4043 shell : bash
4144 if : " github.event_name != 'release'"
42- run : ./gradlew clean publish ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=true -Pdeploy.native=false -Pdeploy.version=${{ steps.vars.outputs.sha_short }}-dev --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
45+ run : ./gradlew clean ${{ inputs. publish == 'true' && 'publish' || '' }} ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=true -Pdeploy.native=false -Pdeploy.version=${{ steps.vars.outputs.sha_short }}-dev --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
Original file line number Diff line number Diff line change 77 tests :
88 description : ' Run tests'
99 default : ' false'
10+ publish :
11+ description : ' Publish the release'
12+ default : ' true'
1013runs :
1114 using : composite
1215 steps :
@@ -229,7 +232,7 @@ runs:
229232 - name : Publish release
230233 shell : bash
231234 if : " github.event_name == 'release'"
232- run : ./gradlew clean publish ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=false -Pdeploy.native=true -Pdeploy.platform=${{ github.job }} -Pffmpeg.gpl=${{ matrix.gpl }} -Pdeploy.version=${{ github.event.release.tag_name }} --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
235+ run : ./gradlew clean ${{ inputs. publish == 'true' && 'publish' || '' }} ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=false -Pdeploy.native=true -Pdeploy.platform=${{ github.job }} -Pffmpeg.gpl=${{ matrix.gpl }} -Pdeploy.version=${{ github.event.release.tag_name }} --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
233236
234237 - name : Set outputs
235238 id : vars
@@ -238,4 +241,4 @@ runs:
238241 - name : Publish snapshot
239242 shell : bash
240243 if : " github.event_name != 'release'"
241- run : ./gradlew clean publish ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=false -Pdeploy.native=true -Pdeploy.platform=${{ github.job }} -Pffmpeg.gpl=${{ matrix.gpl }} -Pdeploy.version=${{ steps.vars.outputs.sha_short }}-dev --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
244+ run : ./gradlew clean ${{ inputs. publish == 'true' && 'publish' || '' }} ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=false -Pdeploy.native=true -Pdeploy.platform=${{ github.job }} -Pffmpeg.gpl=${{ matrix.gpl }} -Pdeploy.version=${{ steps.vars.outputs.sha_short }}-dev --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
You can’t perform that action at this time.
0 commit comments