1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-25 22:40:41 +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: build:
name: Generate ROA name: Generate ROA
if: "github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')" if: "github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- uses: actions/checkout@v2 - uses: actions/checkout@v4
with: with:
path: generated path: generated
ssh-key: ${{ secrets.DEPLOY_KEY }} ssh-key: ${{ secrets.DEPLOY_KEY }}
repository: NeoCloud/NeoNetwork-ROA repository: NeoCloud/NeoNetwork-ROA
- uses: actions/setup-python@v2 - uses: actions/setup-python@v5
with: with:
python-version: 3.x python-version: 3.x
architecture: x64 architecture: x64
@ -34,7 +34,7 @@ jobs:
- run: scripts/push-to-roa.sh - run: scripts/push-to-roa.sh
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v4
with: with:
name: generated name: generated
path: generated path: generated

View file

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