Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
isjerryxiao committed Sep 19, 2024
1 parent c5154f9 commit 20edd28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/roa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 changes: 3 additions & 3 deletions .github/workflows/test-your-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 20edd28

Please sign in to comment.