We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0fde9e commit ce1abc3Copy full SHA for ce1abc3
.github/workflows/publish.yml
@@ -8,6 +8,8 @@ on:
8
jobs:
9
build:
10
runs-on: ubuntu-latest
11
+ outputs:
12
+ version: ${{ steps.get_version.outputs.version }}
13
steps:
14
- uses: actions/checkout@v4
15
with:
@@ -27,6 +29,11 @@ jobs:
27
29
run: bun run publish:lib
28
30
env:
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
37
38
slack_notification:
39
needs:
@@ -63,6 +70,13 @@ jobs:
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": {
0 commit comments