From 4afea32c81569af628ebf215c4928d7f7d09c9af Mon Sep 17 00:00:00 2001 From: Silas Della Contrada Date: Sat, 27 Jul 2024 20:35:29 +0200 Subject: [PATCH] ci: explicitly exclude tests instead of just not specifying them --- .github/actions/deploy-kotlin/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/deploy-kotlin/action.yml b/.github/actions/deploy-kotlin/action.yml index c1e33d3..cc1a08e 100644 --- a/.github/actions/deploy-kotlin/action.yml +++ b/.github/actions/deploy-kotlin/action.yml @@ -30,7 +30,7 @@ runs: - name: Publish release shell: bash if: "github.event_name == 'release'" - run: ./gradlew clean publish ${{ inputs.tests && 'check' || '' }} -Pdeploy.kotlin=true -Pdeploy.native=false -Pdeploy.version=${{ github.event.release.tag_name }} --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache + run: ./gradlew clean publish ${{ inputs.tests && '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 - name: Set outputs id: vars @@ -39,4 +39,4 @@ runs: - name: Publish snapshot shell: bash if: "github.event_name != 'release'" - run: ./gradlew clean publish ${{ inputs.tests && 'check' || '' }} -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 + run: ./gradlew clean publish ${{ inputs.tests && '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