Skip to content

Commit

Permalink
ci: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Oct 17, 2024
1 parent 4cf4d46 commit 4ee213a
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- windows-2019
steps:
- name: Fetch code
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
run: make test-tap

- name: Upload prebuilds
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: addon-${{ runner.os }}
path: prebuilds
Expand All @@ -70,25 +70,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch code
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: npm install --ignore-scripts

- name: Download macOS addon
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: addon-macOS

- name: Download Linux addon
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: addon-Linux

- name: Download Windows addon
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: addon-Windows

Expand All @@ -103,7 +103,7 @@ jobs:
run: echo "::set-output name=version::$(node -p 'require("./package.json").version')"

- name: Upload package
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: package
path: secp256k1-${{ steps.pkg-version.outputs.version }}.tgz
Expand All @@ -113,11 +113,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch code
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
fetch-depth: 1

- uses: actions/cache@v1
- uses: actions/cache@v4
id: cache
with:
path: clang
Expand All @@ -137,9 +137,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch code
uses: actions/checkout@v1
with:
fetch-depth: 1
uses: actions/checkout@v4

- name: Install dependencies
run: npm install --ignore-scripts
Expand Down

0 comments on commit 4ee213a

Please sign in to comment.