From a9aa60e945d6b3c84a1716586d0edb0514dce27a Mon Sep 17 00:00:00 2001 From: Labhansh Agrawal Date: Mon, 19 Jul 2021 18:26:31 +0530 Subject: [PATCH] Fix pr comment action again --- .github/workflows/spectron_comment.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/spectron_comment.yml b/.github/workflows/spectron_comment.yml index 29296b2f..fb565824 100644 --- a/.github/workflows/spectron_comment.yml +++ b/.github/workflows/spectron_comment.yml @@ -35,13 +35,13 @@ jobs: - name: List images run: ls -al - name: Upload images to imgur - win32 - id: upload_screenshots + id: upload_screenshots_win32 uses: devicons/public-upload-to-imgur@v2.2.1 with: path: ./win32_test.png client_id: ${{ secrets.IMGUR_CLIENT_ID }} - name: Upload images to imgur - darwin - id: upload_screenshots + id: upload_screenshots_darwin uses: devicons/public-upload-to-imgur@v2.2.1 with: path: ./darwin_test.png @@ -49,7 +49,7 @@ jobs: - name: Comment on the PR uses: jungwinter/comment@v1 env: - IMG_MARKDOWN: ${{ join(fromJSON(steps.upload_screenshots.outputs.markdown_urls), '') }} + IMG_MARKDOWN: ${{ join([fromJSON(steps.upload_screenshots_win32.outputs.markdown_urls)[0], fromJSON(steps.upload_screenshots_darwin.outputs.markdown_urls)[0]], '') }} MESSAGE: | Hi there, Here are screenshots of Hyper built from this pr.