|  | 
| 47 | 47 |           if [ -f /tmp/__gh_output.txt ] | 
| 48 | 48 |           then | 
| 49 | 49 |             cat /tmp/__gh_output.txt >> $GITHUB_OUTPUT | 
|  | 50 | +            cat /tmp/__gh_output.txt >> $GITHUB_STEP_SUMMARY | 
| 50 | 51 |           fi | 
| 51 | 52 | 
 | 
| 52 | 53 |   update-jetbrains: | 
| @@ -85,17 +86,22 @@ jobs: | 
| 85 | 86 |         run: | | 
| 86 | 87 |           imageRepoBase=${{ github.ref == 'refs/heads/main' && 'eu.gcr.io/gitpod-core-dev/build' || 'eu.gcr.io/gitpod-dev-artifact/build' }} | 
| 87 | 88 |           echo "leeway build -Dversion=latest -DimageRepoBase=$imageRepoBase -DbuildNumber=${{ steps.ide-version.outputs.ideBuildVersion }} components/ide/jetbrains/image:${{ inputs.productId }}-latest -DjbBackendVersion=${{ steps.ide-version.outputs.ideVersion }}" | 
| 88 |  | -      - name: Get previous job's status | 
| 89 |  | -        id: lastrun | 
| 90 |  | -        uses: filiptronicek/get-last-job-status@main | 
| 91 |  | -      - name: Slack Notification | 
| 92 |  | -        if: ${{ (success() && steps.lastrun.outputs.status == 'failed') || failure() }} | 
| 93 |  | -        uses: rtCamp/action-slack-notify@v2 | 
| 94 |  | -        env: | 
| 95 |  | -          SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }} | 
| 96 |  | -          SLACK_COLOR: ${{ job.status }} | 
| 97 |  | -          SLACK_TITLE: ${{ inputs.productId }} | 
| 98 |  | -          SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>" | 
|  | 89 | +          echo "leeway build -Dversion=latest -DimageRepoBase=$imageRepoBase -DbuildNumber=${{ steps.ide-version.outputs.ideBuildVersion }} components/ide/jetbrains/image:${{ inputs.productId }}-latest -DjbBackendVersion=${{ steps.ide-version.outputs.ideVersion }}" >> $GITHUB_STEP_SUMMARY | 
|  | 90 | +      - name: Mock slack content | 
|  | 91 | +        run: | | 
|  | 92 | +          content=$(cat $GITHUB_STEP_SUMMARY) | 
|  | 93 | +          echo "Content from summary: $content" | 
|  | 94 | +      # - name: Get previous job's status | 
|  | 95 | +      #   id: lastrun | 
|  | 96 | +      #   uses: filiptronicek/get-last-job-status@main | 
|  | 97 | +      # - name: Slack Notification | 
|  | 98 | +      #   if: ${{ (success() && steps.lastrun.outputs.status == 'failed') || failure() }} | 
|  | 99 | +      #   uses: rtCamp/action-slack-notify@v2 | 
|  | 100 | +      #   env: | 
|  | 101 | +      #     SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }} | 
|  | 102 | +      #     SLACK_COLOR: ${{ job.status }} | 
|  | 103 | +      #     SLACK_TITLE: ${{ inputs.productId }} | 
|  | 104 | +      #     SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>" | 
| 99 | 105 | 
 | 
| 100 | 106 |   delete-runner: | 
| 101 | 107 |     if: always() | 
|  | 
0 commit comments