Skip to content

Commit 807e084

Browse files
committed
Fix CI
1 parent 076d5ef commit 807e084

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737
- name: Build
3838
run: |
3939
cmake --build build --parallel
40-
strip build/libtinyfd.so
40+
strip lib/libtinyfd.so
4141
- name: Upload artifact
4242
uses: actions/upload-artifact@v4
4343
with:
4444
name: linux-${{matrix.ARCH}}
45-
path: build/libtinyfd.so
45+
path: lib/libtinyfd.so
4646
if-no-files-found: error
4747

4848
linux-cross:
@@ -115,12 +115,12 @@ jobs:
115115
- name: Build
116116
run: |
117117
cmake --build build --parallel
118-
${{matrix.TRIPLET}}-strip build/libtinyfd.so
118+
${{matrix.TRIPLET}}-strip lib/libtinyfd.so
119119
- name: Upload artifact
120120
uses: actions/upload-artifact@v4
121121
with:
122122
name: linux-${{matrix.ARCH}}
123-
path: build/libtinyfd.so
123+
path: lib/libtinyfd.so
124124
if-no-files-found: error
125125

126126
freebsd-cross:
@@ -145,12 +145,12 @@ jobs:
145145
sudo pkg install -y cmake gmake pkgconf
146146
cmake -B build $CI_PARAMS -DCMAKE_C_FLAGS="-std=c99 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
147147
cmake --build build --parallel
148-
strip build/libtinyfd.so
148+
strip lib/libtinyfd.so
149149
- name: Upload artifact
150150
uses: actions/upload-artifact@v4
151151
with:
152152
name: freebsd-x64
153-
path: build/libtinyfd.so
153+
path: lib/libtinyfd.so
154154
if-no-files-found: error
155155

156156
macos:
@@ -173,12 +173,12 @@ jobs:
173173
- name: Build
174174
run: |
175175
cmake --build build --parallel
176-
strip -u -r build/libtinyfd.dylib
176+
strip -u -r lib/libtinyfd.dylib
177177
- name: Upload artifact
178178
uses: actions/upload-artifact@v4
179179
with:
180180
name: macos-${{matrix.ARCH}}
181-
path: build/libtinyfd.dylib
181+
path: lib/libtinyfd.dylib
182182
if-no-files-found: error
183183

184184
windows:
@@ -207,5 +207,5 @@ jobs:
207207
uses: actions/upload-artifact@v4
208208
with:
209209
name: windows-${{matrix.ARCH}}
210-
path: build\Release\tinyfd.dll
210+
path: build\bin\Release\tinyfd.dll
211211
if-no-files-found: error

0 commit comments

Comments
 (0)