From 902de7e6d40cf4c14c3ca5781dea471ea671e368 Mon Sep 17 00:00:00 2001 From: koeneijkemans Date: Sun, 5 Jul 2020 09:22:32 +0200 Subject: [PATCH] Use the version --- .github/workflows/main.yml | 2 +- index.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2edd175..a29f868 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,4 +13,4 @@ jobs: id: getversion uses: diligencia/semantic-git-version-action@master - name: Echo name - run: echo "The name of the branch is ${{ steps.getversion.outputs.branchname }}!" + run: echo "The version of the branch is ${{ steps.getversion.outputs.version }}!" diff --git a/index.js b/index.js index 987982d..4161914 100644 --- a/index.js +++ b/index.js @@ -10,6 +10,7 @@ try { if (versionNumber) { core.setOutput('version', versionNumber); + console.log(versionNumber); } }); } catch (error) {