Skip to content

Commit

Permalink
fix(ref: 1440): add version lib version to slack
Browse files Browse the repository at this point in the history
  • Loading branch information
andriikamaldinov1 committed Nov 1, 2024
1 parent 75995b4 commit faaaebc
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/quality-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ jobs:
run: |
bun i
bash .github/workflows/scripts/quality.sh
- name: Extract version from package.json
id: extract_version
- name: Extract version
id: get_version
run: |
VERSION=$(jq -r '.version' < dist/ngx-mask-lib/package.json)
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "::set-output name=VERSION::$VERSION"
VERSION=$(node -p "require('./dist/ngx-mask-lib/package.json').version")
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Confirm extracted version
- name: Use version
env:
VERSION: ${{ steps.get_version.outputs.version }}
run:
echo "The extracted version is: ${{ steps.extract_version.outputs.VERSION }}"
echo $VERSION

0 comments on commit faaaebc

Please sign in to comment.