Skip to content

Commit 357e5ae

Browse files
committed
Fix artifact paths, try using gha cache type
1 parent f587c26 commit 357e5ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ jobs:
3131
path: $DOCKER_CACHE
3232
key: ${{ matrix.platform }}
3333
- name: Build
34-
run: make -C Plugins ${{ matrix.target }} DOCKER_BUILD_ARGS="--cache-to type=local,dest=$DOCKER_CACHE --cache-from type=local,src=$DOCKER_CACHE"
34+
run: make -C Plugins ${{ matrix.target }} DOCKER_BUILD_ARGS="--cache-from type=gha --cache-to type=gha,mode=max"
3535
- name: Upload artifact
3636
uses: actions/upload-artifact@v4
3737
with:
3838
name: ${{ matrix.platform }}
3939
path: |
40-
Plugins/lib/${{ matrix.platform }}/**.bc
41-
Plugins/lib/${{ matrix.platform }}/**.dll
42-
Plugins/lib/${{ matrix.platform }}/**.dylib
43-
Plugins/lib/${{ matrix.platform }}/**.so
40+
Plugins/lib/${{ matrix.platform }}/**/*.bc
41+
Plugins/lib/${{ matrix.platform }}/**/*.dll
42+
Plugins/lib/${{ matrix.platform }}/**/*.dylib
43+
Plugins/lib/${{ matrix.platform }}/**/*.so
4444
4545
build_with_macos:
4646
name: macOS
@@ -54,4 +54,4 @@ jobs:
5454
with:
5555
name: macos
5656
path: |
57-
Plugins/lib/macos/**.dylib
57+
Plugins/lib/macos/*.dylib

0 commit comments

Comments
 (0)