Skip to content

Commit 30df3af

Browse files
committed
Update summary
1 parent 1a29e60 commit 30df3af

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.github/workflows/jetbrains-auto-update-template.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
if [ -f /tmp/__gh_output.txt ]
4848
then
4949
cat /tmp/__gh_output.txt >> $GITHUB_OUTPUT
50+
cat /tmp/__gh_output.txt >> $GITHUB_STEP_SUMMARY
5051
fi
5152
5253
update-jetbrains:
@@ -85,17 +86,21 @@ jobs:
8586
run: |
8687
imageRepoBase=${{ github.ref == 'refs/heads/main' && 'eu.gcr.io/gitpod-core-dev/build' || 'eu.gcr.io/gitpod-dev-artifact/build' }}
8788
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+
echo "$GITHUB_STEP_SUMMARY"
93+
# - name: Get previous job's status
94+
# id: lastrun
95+
# uses: filiptronicek/get-last-job-status@main
96+
# - name: Slack Notification
97+
# if: ${{ (success() && steps.lastrun.outputs.status == 'failed') || failure() }}
98+
# uses: rtCamp/action-slack-notify@v2
99+
# env:
100+
# SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }}
101+
# SLACK_COLOR: ${{ job.status }}
102+
# SLACK_TITLE: ${{ inputs.productId }}
103+
# SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"
99104

100105
delete-runner:
101106
if: always()

0 commit comments

Comments
 (0)