ci: fix incorrect variable name (#2121)

This commit is contained in:
zyy17
2023-08-08 17:20:11 +08:00
committed by GitHub
parent e7abd00fc0
commit f1f8a1d3a9

View File

@@ -333,11 +333,11 @@ jobs:
if: ${{ needs.release-images-to-dockerhub.outputs.build-result == 'success' }}
with:
payload: |
{"text": "GreptimeDB ${{ NEXT_RELEASE_VERSION }} build successful"}
{"text": "GreptimeDB ${{ env.NEXT_RELEASE_VERSION }} build successful"}
- name: Notifiy nightly build failed result
uses: slackapi/slack-github-action@v1.23.0
if: ${{ needs.release-images-to-dockerhub.outputs.build-result != 'success' }}
with:
payload: |
{"text": "GreptimeDB ${{ NEXT_RELEASE_VERSION }} build failed, please check 'https://github.com/GreptimeTeam/greptimedb/actions/workflows/${{ NEXT_RELEASE_VERSION }}-build.yml'"}
{"text": "GreptimeDB ${{ env.NEXT_RELEASE_VERSION }} build failed, please check 'https://github.com/GreptimeTeam/greptimedb/actions/workflows/${{ env.NEXT_RELEASE_VERSION }}-build.yml'"}