Skip to content

Commit 93013fa

Browse files
committed
ci: only clean publish, not build
1 parent 51f405a commit 93013fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/actions/deploy-kotlin/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ runs:
3030
- name: Publish release
3131
shell: bash
3232
if: "github.event_name == 'release'"
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
33+
run: ./gradlew clean 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
3434

3535
- name: Set outputs
3636
id: vars
@@ -39,4 +39,4 @@ runs:
3939
- name: Publish snapshot
4040
shell: bash
4141
if: "github.event_name != 'release'"
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
42+
run: ./gradlew clean 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

.github/actions/deploy-ubuntu/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ runs:
229229
- name: Publish release
230230
shell: bash
231231
if: "github.event_name == 'release'"
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
232+
run: ./gradlew clean 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
233233

234234
- name: Set outputs
235235
id: vars
@@ -238,4 +238,4 @@ runs:
238238
- name: Publish snapshot
239239
shell: bash
240240
if: "github.event_name != 'release'"
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
241+
run: ./gradlew clean 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

0 commit comments

Comments
 (0)