File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 88jobs :
99 build :
1010 runs-on : ubuntu-latest
11+ outputs :
12+ version : ${{ steps.get_version.outputs.version }}
1113 steps :
1214 - uses : actions/checkout@v4
1315 with :
2729 run : bun run publish:lib
2830 env :
2931 NODE_AUTH_TOKEN : ${{secrets.npm_token}}
32+ - name : Extract version
33+ id : get_version
34+ run : |
35+ VERSION=$(node -p "require('./dist/ngx-mask-lib/package.json').version")
36+ echo "version=$VERSION" >> $GITHUB_OUTPUT
3037
3138 slack_notification :
3239 needs :
6370 "text": "Commit/PR URL: ${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
6471 }
6572 },
73+ {
74+ "type": "section",
75+ "text": {
76+ "type": "mrkdwn",
77+ "text": "Version: `${{ needs.build.outputs.version || 'TBA' }}`"
78+ }
79+ },
6680 {
6781 "type": "section",
6882 "text": {
You can’t perform that action at this time.
0 commit comments