Skip to content

Commit be68f24

Browse files
committed
change the static lib workflow
1 parent 35cbcce commit be68f24

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/staticlib.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: Build staticlibs for liblinmem
1+
name: Build static libs for liblinmem
22

33
on:
44
workflow_call:
55
workflow_dispatch:
66

77
jobs:
88
build:
9-
name: build
9+
name: Build Static Libraries
1010
strategy:
1111
matrix:
1212
include:
@@ -42,11 +42,10 @@ jobs:
4242
- name: Build Static Library
4343
run: |
4444
cargo build -vv --release --target ${{ matrix.rust_target }}
45-
mkdir -p liblinmem/${{ matrix.rust_target }}
46-
mv target/${{ matrix.rust_target }}/release/liblinmem.a liblinmem/${{ matrix.rust_target }}/
45+
mv target/${{ matrix.rust_target }}/release/liblinmem.a liblinmem-${{ matrix.rust_target }}.a
4746
4847
- name: Upload Artifact
4948
uses: actions/upload-artifact@v4
5049
with:
5150
name: liblinmem-${{ matrix.rust_target }}.a
52-
path: liblinmem/${{ matrix.rust_target }}
51+
path: liblinmem-${{ matrix.rust_target }}.a

0 commit comments

Comments
 (0)