From 58a7112191e115cd8a0d41e9fcee50cf0adb69ec 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 11f9ff03cd..4e585fd9d8 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