From 449d2a1fb806695433e7148a0a23011d558b7965 Mon Sep 17 00:00:00 2001 From: meysamhadeli Date: Wed, 25 Jan 2023 01:26:26 +0330 Subject: [PATCH] . --- .github/workflows/build-publish-docker.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-publish-docker.yml b/.github/workflows/build-publish-docker.yml index 0a6d124..53d0bf4 100644 --- a/.github/workflows/build-publish-docker.yml +++ b/.github/workflows/build-publish-docker.yml @@ -21,11 +21,21 @@ jobs: node-version: 'lts/*' ## With the above semantic-release configuration, will create a release and push the dist/index.js file as well as all the tags required - - name: Semantic Release + - name: Semantic Release Version + id: semantic-version run: npx semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Semantic Release Versions Outputs + run: | + echo ${{ steps.semantic-version.outputs.semantic_nextRelease_version }} + echo ${{ steps.semantic-version.outputs.semantic_nextRelease_channel }} + echo ${{ steps.semantic-version.outputs.semantic_nextRelease_gitTag }} + echo ${{ steps.semantic-version.outputs.semantic_lastRelease_version }} + echo ${{ steps.semantic-version.outputs.semantic_lastRelease_channel }} + echo ${{ steps.semantic-version.outputs.semantic_lastRelease_gitTag }} + - name: Login to DockerHub uses: docker/login-action@v2 with: