Skip to content

Commit 6782c8f

Browse files
committed
chore: fix ci
1 parent 728a924 commit 6782c8f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ jobs:
8181
deno task build-skia
8282
cp ./native/build/libnative_canvas{,_aarch64}.dylib
8383
deno task build-macos-x86_64
84+
cp ./native/build/libnative_canvas{,_x86_64}.dylib
85+
cp ./native/build/libnative_canvas{_aarch64,}.dylib
8486
8587
- name: Build Native Library (Windows)
8688
if: runner.os == 'Windows'
@@ -99,6 +101,10 @@ jobs:
99101
DENO_SKIA_LOCAL: 1
100102
run: deno run -A --unstable test/test.ts
101103

104+
- name: Rename x86_64 binary (macOS)
105+
if: runner.os == 'macOS'
106+
run: cp ./native/build/libnative_canvas{_x86_64,}.dylib
107+
102108
- name: Release
103109
uses: softprops/action-gh-release@master
104110
if: ${{ github.ref == 'refs/heads/main' }}

0 commit comments

Comments
 (0)