@@ -57,17 +57,17 @@ jobs:
5757          imageRepoBase=${{ github.ref == 'refs/heads/main' && 'eu.gcr.io/gitpod-core-dev/build' || 'eu.gcr.io/gitpod-dev-artifact/build' }} 
5858          echo "Upgrade latest ${{ inputs.productId }} image with ${{ steps.find-target.outputs.editorSummary }}" >> $GITHUB_STEP_SUMMARY 
5959          leeway build -Dversion=latest -DimageRepoBase=$imageRepoBase -DbuildNumber=${{ steps.find-target.outputs.buildNumber }} components/ide/jetbrains/image:${{ steps.find-target.outputs.image }}-latest -DjbBackendVersion=${{ steps.find-target.outputs.jbBackendVersion }} 
60- #   - name: Get previous job's status
61-       #     id: lastrun
62-       #     uses: filiptronicek/get-last-job-status@main
63-       #   - name: Slack Notification
64-       #     if: ${{ (success() && steps.lastrun .outputs.status == 'failed' ) || failure() }}
65-       #     uses: rtCamp/action-slack-notify@v2
66-       #     env:
67-       #       SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }}
68-       #       SLACK_COLOR: ${{ job.status }}
69-       #       SLACK_TITLE: Upgrade latest ${{ inputs.productId }} image with ${{ steps.find-target.outputs.editorSummary }}
70-       #       SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"
60+ name : Get previous job's status 
61+         id : lastrun 
62+         uses : filiptronicek/get-last-job-status@main 
63+       - name : Slack Notification 
64+          if : ${{ (success() && steps.find-target .outputs.buildNumber ) || failure() }} 
65+         uses : rtCamp/action-slack-notify@v2 
66+         env :
67+           SLACK_WEBHOOK : ${{ secrets.IDE_SLACK_WEBHOOK }} 
68+           SLACK_COLOR : ${{ job.status }} 
69+           SLACK_TITLE : Upgrade latest ${{ inputs.productId }} image with ${{ steps.find-target.outputs.editorSummary }} 
70+           SLACK_FOOTER : " <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>" 
7171
7272  delete-runner :
7373    if : always() 
0 commit comments