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

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

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

View file

@ -9,6 +9,9 @@ jobs:
name: Generate ROA
runs-on: ubuntu-20.04
outputs:
generate_roa: ${{ steps.generate_roa.outputs.base64 }}
steps:
- uses: actions/checkout@v2
with:
@ -24,13 +27,18 @@ jobs:
python-version: 3.x
architecture: x64
- shell: bash
run: |
env PYTHONUNBUFFERED=1 pip install -r scripts/requirements.txt 2> >(tee -a ~/buildjob.log >&2)
- run: pip install -r scripts/requirements.txt
- shell: bash
run: |
env PYTHONUNBUFFERED=1 scripts/generate-roa.sh 2> >(tee -a ~/buildjob.log >&2)
- run: |
success=true
scripts/generate-roa.sh 2> >(tee ~/buildjob.log >&2) || success=false
echo -n "base64=" >> $GITHUB_OUTPUT
base64 -w0 ~/buildjob.log >> $GITHUB_OUTPUT
${success}
shell: bash
id: generate_roa
- run: git -C generated diff README.md
@ -57,7 +65,7 @@ jobs:
steps:
- shell: bash
run: |
tail ~/buildjob.log > ~/buildjob_tail.log
echo ${{needs.build.outputs.generate_roa}} | base64 -d |tail > ~/buildjob_tail.log || echo 'internal error' > ~/buildjob_tail.log
- uses: thollander/actions-comment-pull-request@v2
with: