File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 gradle-cache-encryption-key :
55 description : ' The encryption key for the Gradle cache.'
66 required : false
7+ tests :
8+ description : ' Run tests'
9+ default : ' false'
710runs :
811 using : composite
912 steps :
2730 - name : Publish release
2831 shell : bash
2932 if : " github.event_name == 'release'"
30- run : ./gradlew build publish -Pdeploy.native=false -Pdeploy.kotlin=true -Pffmpeg.gpl=${{ matrix.gpl }} -Pdeploy.version=${{ github.event.release.tag_name }} --console=plain --info --configure-on-demand --parallel --build-cache
33+ run : ./gradlew build publish ${{ inputs.tests && 'check' || '' }} -Pdeploy.kotlin=true -Pdeploy. native=false -Pffmpeg.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
3134
3235 - name : Set outputs
3336 id : vars
3639 - name : Publish snapshot
3740 shell : bash
3841 if : " github.event_name != 'release'"
39- run : ./gradlew build publish -Pdeploy.native=false -Pdeploy.kotlin=true -Pffmpeg.gpl=${{ matrix.gpl }} -Pdeploy.version=${{ steps.vars.outputs.sha_short }}-dev --console=plain --info --configure-on-demand --parallel --build-cache
42+ run : ./gradlew build publish ${{ inputs.tests && 'check' || '' }} -Pdeploy.kotlin=true -Pdeploy. native=false -Pffmpeg.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
Original file line number Diff line number Diff line change 44 gradle-cache-encryption-key :
55 description : ' The encryption key for the Gradle cache.'
66 required : false
7+ tests :
8+ description : ' Run tests'
9+ default : ' false'
710runs :
811 using : composite
912 steps :
@@ -226,7 +229,7 @@ runs:
226229 - name : Publish release
227230 shell : bash
228231 if : " github.event_name == 'release'"
229- run : ./gradlew build publish -Pdeploy.kotlin=false -Pdeploy.native=true -Pffmpeg.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
232+ run : ./gradlew build publish ${{ inputs.tests && 'check' || '' }} -Pdeploy.kotlin=false -Pdeploy.native=true -Pffmpeg.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
230233
231234 - name : Set outputs
232235 id : vars
@@ -235,4 +238,4 @@ runs:
235238 - name : Publish snapshot
236239 shell : bash
237240 if : " github.event_name != 'release'"
238- run : ./gradlew build publish -Pdeploy.kotlin=false -Pdeploy.native=true -Pffmpeg.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
241+ run : ./gradlew build publish ${{ inputs.tests && 'check' || '' }} -Pdeploy.kotlin=false -Pdeploy.native=true -Pffmpeg.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