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 4
4
gradle-cache-encryption-key :
5
5
description : ' The encryption key for the Gradle cache.'
6
6
required : false
7
+ tests :
8
+ description : ' Run tests'
9
+ default : ' false'
7
10
runs :
8
11
using : composite
9
12
steps :
27
30
- name : Publish release
28
31
shell : bash
29
32
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
31
34
32
35
- name : Set outputs
33
36
id : vars
36
39
- name : Publish snapshot
37
40
shell : bash
38
41
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 4
4
gradle-cache-encryption-key :
5
5
description : ' The encryption key for the Gradle cache.'
6
6
required : false
7
+ tests :
8
+ description : ' Run tests'
9
+ default : ' false'
7
10
runs :
8
11
using : composite
9
12
steps :
@@ -226,7 +229,7 @@ runs:
226
229
- name : Publish release
227
230
shell : bash
228
231
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
230
233
231
234
- name : Set outputs
232
235
id : vars
@@ -235,4 +238,4 @@ runs:
235
238
- name : Publish snapshot
236
239
shell : bash
237
240
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