mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 05:38:41 -09:00
Revert pr comment action changes and update imgur action
This commit is contained in:
parent
a9aa60e945
commit
dfa3ed637f
1 changed files with 5 additions and 11 deletions
16
.github/workflows/spectron_comment.yml
vendored
16
.github/workflows/spectron_comment.yml
vendored
|
|
@ -34,22 +34,16 @@ jobs:
|
||||||
path: ./pr_num.txt
|
path: ./pr_num.txt
|
||||||
- name: List images
|
- name: List images
|
||||||
run: ls -al
|
run: ls -al
|
||||||
- name: Upload images to imgur - win32
|
- name: Upload images to imgur
|
||||||
id: upload_screenshots_win32
|
id: upload_screenshots
|
||||||
uses: devicons/public-upload-to-imgur@v2.2.1
|
uses: devicons/public-upload-to-imgur@v2.2.2
|
||||||
with:
|
with:
|
||||||
path: ./win32_test.png
|
path: ./*.png
|
||||||
client_id: ${{ secrets.IMGUR_CLIENT_ID }}
|
|
||||||
- name: Upload images to imgur - darwin
|
|
||||||
id: upload_screenshots_darwin
|
|
||||||
uses: devicons/public-upload-to-imgur@v2.2.1
|
|
||||||
with:
|
|
||||||
path: ./darwin_test.png
|
|
||||||
client_id: ${{ secrets.IMGUR_CLIENT_ID }}
|
client_id: ${{ secrets.IMGUR_CLIENT_ID }}
|
||||||
- name: Comment on the PR
|
- name: Comment on the PR
|
||||||
uses: jungwinter/comment@v1
|
uses: jungwinter/comment@v1
|
||||||
env:
|
env:
|
||||||
IMG_MARKDOWN: ${{ join([fromJSON(steps.upload_screenshots_win32.outputs.markdown_urls)[0], fromJSON(steps.upload_screenshots_darwin.outputs.markdown_urls)[0]], '') }}
|
IMG_MARKDOWN: ${{ join(fromJSON(steps.upload_screenshots.outputs.markdown_urls), '') }}
|
||||||
MESSAGE: |
|
MESSAGE: |
|
||||||
Hi there,
|
Hi there,
|
||||||
Here are screenshots of Hyper built from this pr.
|
Here are screenshots of Hyper built from this pr.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue