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) {