Use the version

This commit is contained in:
koeneijkemans 2020-07-05 09:22:32 +02:00
parent c02262795c
commit 902de7e6d4
2 changed files with 2 additions and 1 deletions

View File

@ -13,4 +13,4 @@ jobs:
id: getversion id: getversion
uses: diligencia/semantic-git-version-action@master uses: diligencia/semantic-git-version-action@master
- name: Echo name - 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 }}!"

View File

@ -10,6 +10,7 @@ try {
if (versionNumber) { if (versionNumber) {
core.setOutput('version', versionNumber); core.setOutput('version', versionNumber);
console.log(versionNumber);
} }
}); });
} catch (error) { } catch (error) {