Skip to content

Commit

Permalink
ci: explicitly exclude tests instead of just not specifying them
Browse files Browse the repository at this point in the history
  • Loading branch information
silenium-dev committed Jul 27, 2024
1 parent b874df6 commit 4afea32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/deploy-kotlin/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 4afea32

Please sign in to comment.