Skip to content

Commit

Permalink
update artifact actions to v4 (#639)
Browse files Browse the repository at this point in the history
Artifact actions v3 will be deprecated by December 5, 2024.
  • Loading branch information
DeckerSU authored Nov 20, 2024
1 parent 2651eaf commit bac29fb
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 38 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/komodo_linux_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install deps (Linux)

Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
CONFIGURE_FLAGS='CPPFLAGS=-DTESTMODE' ./zcutil/build.sh -j$(nproc)
tar -czvf komodo-linux.tar.gz src/komodod src/komodo-cli
- name: Upload komodo-linux.tar.gz as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: komodo-linux
path: ./komodo-linux.tar.gz
Expand All @@ -54,7 +54,7 @@ jobs:
needs: linux-build

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install deps (Dice, Token, Faucet, Rewards CC)
run: |
Expand All @@ -71,7 +71,7 @@ jobs:
python3 -m pip install pytest wget jsonschema
python3 -m pip install -Iv https://github.com/KomodoPlatform/slick-bitcoinrpc/archive/refs/tags/0.1.4.tar.gz
- name: Download komodo-linux.tar.gz
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodo-linux

Expand All @@ -91,7 +91,7 @@ jobs:
needs: linux-build

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install deps (OraclesCC)
run: |
Expand All @@ -108,7 +108,7 @@ jobs:
python3 -m pip install pytest wget jsonschema
python3 -m pip install -Iv https://github.com/KomodoPlatform/slick-bitcoinrpc/archive/refs/tags/0.1.4.tar.gz
- name: Download komodo-linux.tar.gz
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodo-linux

Expand All @@ -128,7 +128,7 @@ jobs:
needs: linux-build

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install deps (BasicRPC)
run: |
Expand All @@ -145,7 +145,7 @@ jobs:
python3 -m pip install pytest wget jsonschema
python3 -m pip install -Iv https://github.com/KomodoPlatform/slick-bitcoinrpc/archive/refs/tags/0.1.4.tar.gz
- name: Download komodo-linux.tar.gz
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodo-linux

Expand All @@ -165,7 +165,7 @@ jobs:
needs: linux-build

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install deps (ChannelsCC)
run: |
Expand All @@ -182,7 +182,7 @@ jobs:
python3 -m pip install pytest wget jsonschema
python3 -m pip install -Iv https://github.com/KomodoPlatform/slick-bitcoinrpc/archive/refs/tags/0.1.4.tar.gz
- name: Download komodo-linux.tar.gz
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodo-linux

Expand All @@ -202,7 +202,7 @@ jobs:
needs: linux-build

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install deps (HeirCC)
run: |
Expand All @@ -219,7 +219,7 @@ jobs:
python3 -m pip install pytest wget jsonschema
python3 -m pip install -Iv https://github.com/KomodoPlatform/slick-bitcoinrpc/archive/refs/tags/0.1.4.tar.gz
- name: Download komodo-linux.tar.gz
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodo-linux

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/komodo_mac_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
# DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer

- name: Upload komodo-macos.tar.gz as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: komodo-macos
path: |
Expand All @@ -73,7 +73,7 @@ jobs:
python3 -m pip install slick-bitcoinrpc pytest wget jsonschema
- name: Download komodo-macos.tar.gz
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodo-macos

Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
python3 -m pip install setuptools wheel
python3 -m pip install slick-bitcoinrpc pytest wget jsonschema
- name: Download komodo-macos.tar.gz
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodo-macos

Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
python3 -m pip install setuptools wheel
python3 -m pip install slick-bitcoinrpc pytest wget jsonschema
- name: Download komodo-macos.tar.gz
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodo-macos

Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
python3 -m pip install setuptools wheel
python3 -m pip install slick-bitcoinrpc pytest wget jsonschema
- name: Download komodo-macos.tar.gz
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodo-macos

Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
python3 -m pip install setuptools wheel
python3 -m pip install slick-bitcoinrpc pytest wget jsonschema
- name: Download komodo-macos.tar.gz
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodo-macos

Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/komodo_win_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install deps(mingw)
env:
DEBIAN_FRONTEND: noninteractive
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
./zcutil/build-win-dtest.sh -j$(nproc)
zip --junk-paths komodod_win src/komodod.exe src/komodo-cli.exe
- name: Upload komodod.exe as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: komodod_win
path: ./komodod_win.zip
Expand All @@ -80,10 +80,10 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download komodo_win.zip
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodod_win

Expand Down Expand Up @@ -111,10 +111,10 @@ jobs:
needs: windows-build

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download komodo_win.zip
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodod_win

Expand Down Expand Up @@ -142,10 +142,10 @@ jobs:
needs: windows-build

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download komodo_win.zip
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodod_win

Expand Down Expand Up @@ -173,10 +173,10 @@ jobs:
needs: windows-build

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download komodo_win.zip
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodod_win

Expand Down Expand Up @@ -204,10 +204,10 @@ jobs:
needs: windows-build

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download komodo_win.zip
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodod_win

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/komodod_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
id: shortify_commit

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install deps (Linux)
env:
Expand All @@ -55,7 +55,7 @@ jobs:
./zcutil/build.sh -j$(nproc)
zip --junk-paths komodo-linux src/komodod src/komodo-cli
- name: Upload komodo-linux.zip as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: komodo-linux
path: ./komodo-linux.zip
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
zip --junk-paths komodo-osx src/komodod src/komodo-cli
- name: Upload komodo-osx.zip as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: komodo-osx
path: ./komodo-osx.zip
Expand All @@ -123,7 +123,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install deps (Windows)
env:
DEBIAN_FRONTEND: noninteractive
Expand All @@ -147,7 +147,7 @@ jobs:
./zcutil/build-win.sh -j$(nproc)
zip --junk-paths komodo-win src/komodod.exe src/komodo-cli.exe
- name: Upload komodo-win.zip as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: komodo-win
path: ./komodo-win.zip
Expand All @@ -159,15 +159,15 @@ jobs:
needs: [linux-build, osx-build, windows-build]
steps:
- name: Download komodo-linux.zip
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodo-linux
- name: Download komodo-osx.zip
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodo-osx
- name: Download komodo-win.zip
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: komodo-win

Expand Down

0 comments on commit bac29fb

Please sign in to comment.