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 8
8
jobs :
9
9
build :
10
10
runs-on : ubuntu-latest
11
+ outputs :
12
+ version : ${{ steps.get_version.outputs.version }}
11
13
steps :
12
14
- uses : actions/checkout@v4
13
15
with :
27
29
run : bun run publish:lib
28
30
env :
29
31
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
30
37
31
38
slack_notification :
32
39
needs :
63
70
"text": "Commit/PR URL: ${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
64
71
}
65
72
},
73
+ {
74
+ "type": "section",
75
+ "text": {
76
+ "type": "mrkdwn",
77
+ "text": "Version: `${{ needs.build.outputs.version || 'TBA' }}`"
78
+ }
79
+ },
66
80
{
67
81
"type": "section",
68
82
"text": {
You can’t perform that action at this time.
0 commit comments