mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-11-22 15:20:40 +08:00
test-your-pr: fix bot comment [skip ci]
Signed-off-by: Jerry <isjerryxiao@outlook.com>
This commit is contained in:
parent
aabb859780
commit
f1d56806b9
1 changed files with 11 additions and 5 deletions
16
.github/workflows/test-your-pr.yml
vendored
16
.github/workflows/test-your-pr.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue