1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-12-26 15:39:25 +08:00

test-your-pr: fix bot comment [skip ci]

Signed-off-by: Jerry <isjerryxiao@outlook.com>
This commit is contained in:
JerryXiao 2023-12-05 19:08:54 +08:00
parent aabb859780
commit f1d56806b9
Signed by: Jerry
GPG key ID: 22618F758B5BE2E5

View file

@ -24,9 +24,13 @@ jobs:
python-version: 3.x python-version: 3.x
architecture: x64 architecture: x64
- run: env PYTHONUNBUFFERED=1 pip install -r scripts/requirements.txt 2>(tee -a ~/buildjob.log >&2) - shell: bash
run: |
env PYTHONUNBUFFERED=1 pip install -r scripts/requirements.txt 2>(tee -a ~/buildjob.log >&2)
- run: env PYTHONUNBUFFERED=1 scripts/generate-roa.sh 2>(tee -a ~/buildjob.log >&2) - shell: bash
run: |
env PYTHONUNBUFFERED=1 scripts/generate-roa.sh 2>(tee -a ~/buildjob.log >&2)
- run: git -C generated diff README.md - run: git -C generated diff README.md
@ -38,7 +42,7 @@ jobs:
comment_success: comment_success:
needs: [build] needs: [build]
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
if: needs.build.result == 'success' if: ${{ always() && contains(needs.build.result, 'success') }}
steps: steps:
- uses: thollander/actions-comment-pull-request@v2 - uses: thollander/actions-comment-pull-request@v2
with: with:
@ -49,9 +53,11 @@ jobs:
comment_failure: comment_failure:
needs: [build] needs: [build]
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
if: needs.build.result == 'failure' if: ${{ always() && contains(needs.build.result, 'failure') }}
steps: steps:
- run: tail ~/buildjob.log > ~/buildjob_tail.log - shell: bash
run: |
tail ~/buildjob.log > ~/buildjob_tail.log
- uses: thollander/actions-comment-pull-request@v2 - uses: thollander/actions-comment-pull-request@v2
with: with: