From abee8cafebe69cc0a24a6319a5335b483cf2c305 Mon Sep 17 00:00:00 2001 From: Danilo Pianini Date: Mon, 5 Dec 2022 11:31:40 +0100 Subject: [PATCH] ci(web-renderer): test JS release on Maven Central --- .github/workflows/build-and-deploy.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 9920ef2242..5a61a48b7f 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -27,7 +27,7 @@ jobs: publishKotlinOSSRHPublicationToGithubRepository \ release \ shadowJar \ - uploadKotlinOSSRH uploadKotlinMultiplatform \ + uploadKotlinOSSRH uploadKotlinMultiplatform uploadJvm uploadJs \ --dry-run " eval $COMMAND || eval $COMMAND @@ -57,10 +57,9 @@ jobs: with: build-command: true check-command: true - deploy-command: >- - ./gradlew uploadKotlinOSSRH uploadKotlinMultiplatform close --parallel || - ./gradlew uploadKotlinOSSRH uploadKotlinMultiplatform close --parallel || - ./gradlew uploadKotlinOSSRH uploadKotlinMultiplatform close --parallel + deploy-command: | + COMMAND="./gradlew uploadJvm uploadJs uploadKotlinOSSRH uploadKotlinMultiplatform close --parallel" + eval "$COMMAND" || eval "$COMMAND" || eval "$COMMAND" java-version: 11 should-run-codecov: false should-deploy: true