We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ae958b commit e5fc7beCopy full SHA for e5fc7be
1 file changed
.github/workflows/npm-publish.yml
@@ -30,12 +30,12 @@ jobs:
30
31
- name: Get the package version
32
id: get_version
33
- run: echo "::set-output name=version::$(node -p "require('./package.json').version")"
+ run: echo "PACKAGE_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
34
35
- name: Notify Slack
36
uses: rtCamp/action-slack-notify@v2
37
env:
38
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
39
SLACK_TITLE: 'Deployment Status'
40
- SLACK_MESSAGE: 'npm package @webredone/trb-cli version ${{ steps.get_version.outputs.version }} published successfully!'
+ SLACK_MESSAGE: 'npm package @webredone/trb-cli version ${{ env.PACKAGE_VERSION }} published successfully!'
41
SLACK_COLOR: '#36a64f'
0 commit comments