Skip to content

Commit 20edd28

Browse files
committed
update workflows
1 parent c5154f9 commit 20edd28

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/roa.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ jobs:
1010
build:
1111
name: Generate ROA
1212
if: "github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')"
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.04
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717

18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
with:
2020
path: generated
2121
ssh-key: ${{ secrets.DEPLOY_KEY }}
2222
repository: NeoCloud/NeoNetwork-ROA
2323

24-
- uses: actions/setup-python@v2
24+
- uses: actions/setup-python@v5
2525
with:
2626
python-version: 3.x
2727
architecture: x64
@@ -34,7 +34,7 @@ jobs:
3434

3535
- run: scripts/push-to-roa.sh
3636

37-
- uses: actions/upload-artifact@v2
37+
- uses: actions/upload-artifact@v4
3838
with:
3939
name: generated
4040
path: generated

.github/workflows/test-your-pr.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
build:
99
name: Generate ROA
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111

1212
outputs:
1313
generate_roa: ${{ steps.generate_roa.outputs.base64 }}
@@ -38,7 +38,7 @@ jobs:
3838
repository: NeoCloud/NeoNetwork-ROA
3939
path: generated
4040

41-
- uses: actions/setup-python@v2
41+
- uses: actions/setup-python@v5
4242
with:
4343
python-version: 3.x
4444
architecture: x64
@@ -58,7 +58,7 @@ jobs:
5858
5959
- run: git -C generated diff README.md
6060

61-
- uses: actions/upload-artifact@v2
61+
- uses: actions/upload-artifact@v4
6262
with:
6363
name: generated
6464
path: generated

0 commit comments

Comments
 (0)