1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-22 12:00:40 +08:00

update workflows

This commit is contained in:
JerryXiao 2024-09-19 10:40:28 +08:00
parent c5154f962c
commit 20edd282f7
Signed by: Jerry
GPG key ID: 22618F758B5BE2E5
2 changed files with 8 additions and 8 deletions

View file

@ -10,18 +10,18 @@ jobs:
build:
name: Generate ROA
if: "github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
path: generated
ssh-key: ${{ secrets.DEPLOY_KEY }}
repository: NeoCloud/NeoNetwork-ROA
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: 3.x
architecture: x64
@ -34,7 +34,7 @@ jobs:
- run: scripts/push-to-roa.sh
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: generated
path: generated

View file

@ -7,7 +7,7 @@ on:
jobs:
build:
name: Generate ROA
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
outputs:
generate_roa: ${{ steps.generate_roa.outputs.base64 }}
@ -38,7 +38,7 @@ jobs:
repository: NeoCloud/NeoNetwork-ROA
path: generated
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: 3.x
architecture: x64
@ -58,7 +58,7 @@ jobs:
- run: git -C generated diff README.md
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: generated
path: generated