mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-11-11 08:42:23 +08:00
update workflows
This commit is contained in:
parent
c5154f962c
commit
20edd282f7
2 changed files with 8 additions and 8 deletions
10
.github/workflows/roa.yml
vendored
10
.github/workflows/roa.yml
vendored
|
@ -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
|
||||
|
|
6
.github/workflows/test-your-pr.yml
vendored
6
.github/workflows/test-your-pr.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue