Skip to content

Commit ce1abc3

Browse files
fix(ref: no-ref): updage ng 19
* fix(ref: no-ref): updage ng 19
1 parent d0fde9e commit ce1abc3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/publish.yml

+14
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
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:
@@ -27,6 +29,11 @@ jobs:
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:
@@ -63,6 +70,13 @@ jobs:
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": {

0 commit comments

Comments
 (0)