This commit is contained in:
meysamhadeli 2023-01-25 01:26:26 +03:30
parent e2dfc1cd6c
commit 449d2a1fb8

View File

@ -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: