Skip to content

Commit f117c60

Browse files
committed
update actions upload v2 -> v4
1 parent 69414d8 commit f117c60

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ jobs:
108108
Copy-Item -Path ./target/${{ matrix.target }}/release/foo_ffi.dll.lib -Destination ffi-modules/${{ matrix.target }}
109109
Copy-Item -Path ./target/${{ matrix.target }}/release/foo_ffi_java.dll -Destination ffi-modules/${{ matrix.target }}
110110
- name: Upload compiled FFI modules
111-
uses: actions/upload-artifact@v2
111+
uses: actions/upload-artifact@v4
112112
with:
113-
name: ffi-modules
113+
name: ffi-modules-${{ matrix.target }}
114114
path: ffi-modules
115115
- name: C Bindings Tests
116116
if: ${{ matrix.test }}
@@ -147,9 +147,9 @@ jobs:
147147
cp ./target/release/libfoo_ffi.dylib ./ffi-modules/${{ matrix.target }}
148148
cp ./target/release/libfoo_ffi_java.dylib ./ffi-modules/${{ matrix.target }}
149149
- name: Upload compiled FFI modules
150-
uses: actions/upload-artifact@v2
150+
uses: actions/upload-artifact@v4
151151
with:
152-
name: ffi-modules
152+
name: ffi-modules-${{ matrix.target }}
153153
path: ffi-modules
154154
- name: .NET Bindings Tests
155155
run: cargo run --bin foo-bindings -- --dotnet
@@ -184,9 +184,9 @@ jobs:
184184
cp ./target/${{ matrix.target }}/release/libfoo_ffi.so ./ffi-modules/${{ matrix.target }}
185185
cp ./target/${{ matrix.target }}/release/libfoo_ffi_java.so ./ffi-modules/${{ matrix.target }}
186186
- name: Upload compiled FFI modules
187-
uses: actions/upload-artifact@v2
187+
uses: actions/upload-artifact@v4
188188
with:
189-
name: ffi-modules
189+
name: ffi-modules-${matrix-target}
190190
path: ffi-modules
191191
# Package all the generated bindings
192192
packaging:

0 commit comments

Comments
 (0)