From 61aaf4f8f99465301672726fa7a64504665259ff Mon Sep 17 00:00:00 2001 From: Danilo Pianini Date: Mon, 1 Nov 2021 11:47:15 +0100 Subject: [PATCH] Re-try to export the version --- .github/workflows/deploy-shadow-jar.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-shadow-jar.yml b/.github/workflows/deploy-shadow-jar.yml index 8e02d0e31b..3f533790fb 100644 --- a/.github/workflows/deploy-shadow-jar.yml +++ b/.github/workflows/deploy-shadow-jar.yml @@ -19,7 +19,9 @@ jobs: - name: Compute version id: version run: | - echo "::version name=version::$(./gradlew printGit | grep -m 1 -oP '^Version computed by GitSemVer: \K.*$')" + VERSION="$(./gradlew printGit | grep -m 1 -oP '^Version computed by GitSemVer: \K.*$')" + echo Exporting version: $VERSION + echo "::set-output name=version::$VERSION" - uses: ncipollo/release-action@v1 with: artifacts: "build/shadow/*-all.jar"