This commit is contained in:
neil 2022-11-22 19:58:31 +08:00
parent 97b2e6e39e
commit d69ebad410

View file

@ -124,15 +124,21 @@ jobs:
uses: mshick/add-pr-comment@v2 uses: mshick/add-pr-comment@v2
if: matrix.platform == 'ubuntu-latest' if: matrix.platform == 'ubuntu-latest'
with: with:
message-id: ${{ matrix.platform }}-comment message-id: ${{ matrix.platform }}-comment-${{steps.prefix.outputs.prefix}}
message: | message: |
**installer for ${{ matrix.platform }} is at**: [here](http://preview.gui.tea.xyz.s3-website-us-east-1.amazonaws.com/${{steps.prefix.outputs.prefix}}/gui.deb){target="_blank"} **installer for ${{ matrix.platform }} is at**: [here](http://preview.gui.tea.xyz.s3-website-us-east-1.amazonaws.com/${{steps.prefix.outputs.prefix}}/gui.deb)
```bash
$ curl http://preview.gui.tea.xyz.s3-website-us-east-1.amazonaws.com/${{steps.prefix.outputs.prefix}}/gui.deb
```
- name: comment install mac-os - name: comment install mac-os
uses: mshick/add-pr-comment@v2 uses: mshick/add-pr-comment@v2
if: matrix.platform == 'macos-latest' if: matrix.platform == 'macos-latest'
with: with:
message-id: ${{ matrix.platform }}-comment message-id: ${{ matrix.platform }}-comment-${{steps.prefix.outputs.prefix}}
message: | message: |
**installer for ${{ matrix.platform }} is at**: [here](http://preview.gui.tea.xyz.s3-website-us-east-1.amazonaws.com/${{steps.prefix.outputs.prefix}}/gui.dmg){target="_blank"} **installer for ${{ matrix.platform }} is at**: [here](http://preview.gui.tea.xyz.s3-website-us-east-1.amazonaws.com/${{steps.prefix.outputs.prefix}}/gui.dmg)
```bash
$ curl http://preview.gui.tea.xyz.s3-website-us-east-1.amazonaws.com/${{steps.prefix.outputs.prefix}}/gui.dmg
```