mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-11-22 18:00:41 +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:
|
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
|
||||||
|
|
6
.github/workflows/test-your-pr.yml
vendored
6
.github/workflows/test-your-pr.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue