From ce1abc3421d2e19edb3ea5cc2af09102205a8cc9 Mon Sep 17 00:00:00 2001 From: Andrii Kamaldinov <129040945+andriikamaldinov1@users.noreply.github.com> Date: Fri, 22 Nov 2024 17:51:31 +0200 Subject: [PATCH] fix(ref: no-ref): updage ng 19 * fix(ref: no-ref): updage ng 19 --- .github/workflows/publish.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e4e9af7..13923a3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,6 +8,8 @@ on: jobs: build: runs-on: ubuntu-latest + outputs: + version: ${{ steps.get_version.outputs.version }} steps: - uses: actions/checkout@v4 with: @@ -27,6 +29,11 @@ jobs: run: bun run publish:lib env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} + - name: Extract version + id: get_version + run: | + VERSION=$(node -p "require('./dist/ngx-mask-lib/package.json').version") + echo "version=$VERSION" >> $GITHUB_OUTPUT slack_notification: needs: @@ -63,6 +70,13 @@ jobs: "text": "Commit/PR URL: ${{ github.event.pull_request.html_url || github.event.head_commit.url }}" } }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Version: `${{ needs.build.outputs.version || 'TBA' }}`" + } + }, { "type": "section", "text": {