Skip to content

Commit

Permalink
#28259 fixing some potential errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcolina committed Aug 20, 2024
1 parent 0d628ff commit 669e6ac
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ outputs:
npm-package-version:
description: 'SDK libs - NPM package version'
value: ${{ steps.next_version.outputs.next_version }}
published:
description: 'SDK libs - Published'
value: ${{ steps.next_version.outputs.publish }}
runs:
using: "composite"
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
"type": "section",
"text": {
"type": "mrkdwn",
"text": ${{ inputs.payload }}
"text": "${{ inputs.payload }}"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd_3-trunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
uses: ./.github/workflows/cicd_comp_deployment-phase.yml
with:
artifact-run-id: ${{ needs.initialize.outputs.artifact-run-id }}
publish-npm-sdk-libs: ${{ needs.initialize.outputs.sdk_libs != false && github.event_name != 'workflow_dispatch' }}
publish-npm-sdk-libs: ${{ needs.initialize.outputs.sdk_libs != 'false' && github.event_name != 'workflow_dispatch' }}
environment: trunk
secrets:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd_comp_deployment-phase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:

# Send Slack notification for SDK publication (if required)
- name: Slack Notification (SDK announcement)
if: inputs.publish-npm-sdk-libs
if: success() && steps.sdks_publish.outputs.published == 'true'
uses: ./.github/actions/core-cicd/notification/notify-slack
with:
channel-id: "log-sdk-libs"
Expand Down

0 comments on commit 669e6ac

Please sign in to comment.