File tree Expand file tree Collapse file tree 4 files changed +13
-26
lines changed
Expand file tree Collapse file tree 4 files changed +13
-26
lines changed Original file line number Diff line number Diff line change @@ -25,18 +25,18 @@ jobs:
2525 runs-on : ${{ matrix.os }}
2626
2727 steps :
28- - uses : actions/checkout@v4
28+ - uses : actions/checkout@v6
2929
3030 - name : Setup Node.js
31- uses : actions/setup-node@v4
31+ uses : actions/setup-node@v6
3232 with :
3333 node-version : ' 20'
3434
3535 - name : Setup Rust
3636 uses : dtolnay/rust-toolchain@stable
3737
3838 - name : Cache Cargo
39- uses : actions/cache@v4
39+ uses : actions/cache@v5
4040 with :
4141 path : |
4242 ~/.cargo/registry
@@ -74,10 +74,10 @@ jobs:
7474 contents : read
7575 id-token : write
7676 steps :
77- - uses : actions/checkout@v4
77+ - uses : actions/checkout@v6
7878
7979 - name : Setup Node.js
80- uses : actions/setup-node@v4
80+ uses : actions/setup-node@v6
8181 with :
8282 node-version : ' 22'
8383 registry-url : https://registry.npmjs.org/
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
1111 contents : read
1212 id-token : write
1313 steps :
14- - uses : actions/checkout@v4
14+ - uses : actions/checkout@v6
1515
1616 - name : Setup Node.js
17- uses : actions/setup-node@v4
17+ uses : actions/setup-node@v6
1818 with :
1919 node-version : ' 22'
2020 registry-url : https://registry.npmjs.org/
Original file line number Diff line number Diff line change 2020 contents : write
2121 pull-requests : write
2222 steps :
23- - uses : actions/checkout@v4
23+ - uses : actions/checkout@v6
2424
2525 - name : Get current imageflow tag
2626 id : current
Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ jobs:
3939 runs-on : ${{ matrix.os }}
4040
4141 steps :
42- - uses : actions/checkout@v4
42+ - uses : actions/checkout@v6
4343
4444 - name : Setup Node.js
45- uses : actions/setup-node@v4
45+ uses : actions/setup-node@v6
4646 with :
4747 node-version : ' 20'
4848
@@ -52,28 +52,15 @@ jobs:
5252 targets : ${{ matrix.rust-target || '' }}
5353
5454 - name : Cache Cargo
55- uses : actions/cache@v4
55+ uses : actions/cache@v5
5656 with :
5757 path : |
5858 ~/.cargo/registry
5959 ~/.cargo/git
6060 native/target
61- key : ${{ runner.os }}-${{ matrix.rust-target || 'native' }}-cargo-release-${{ hashFiles('native/Cargo.lock ') }}
61+ key : ${{ runner.os }}-${{ runner.arch }}-${{ matrix.rust-target || 'native' }}-cargo-release-${{ hashFiles('native/Cargo.toml ') }}
6262 restore-keys : |
63- ${{ runner.os }}-${{ matrix.rust-target || 'native' }}-cargo-release-
64-
65- - name : Install LLVM (Linux)
66- if : runner.os == 'Linux'
67- run : sudo apt-get install -y llvm libclang-dev
68-
69- - name : Install LLVM (Windows)
70- if : runner.os == 'Windows'
71- run : choco install -y llvm
72-
73- - name : Set LLVM path (Windows)
74- if : runner.os == 'Windows'
75- shell : bash
76- run : echo "LIBCLANG_PATH=C:\Program Files\LLVM\bin" >> $GITHUB_ENV
63+ ${{ runner.os }}-${{ runner.arch }}-${{ matrix.rust-target || 'native' }}-cargo-release-
7764
7865 - name : Build native module (release, cross-compile)
7966 if : matrix.rust-target
You can’t perform that action at this time.
0 commit comments