Skip to content

Commit

Permalink
tryfix: win lib
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Oct 11, 2024
1 parent d6c8982 commit ee40945
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cross_compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
with:
name: realm-${{ matrix.target }}
path: |
target/${{ matrix.target }}/release/librealm.lib
target/${{ matrix.target }}/release/realm.lib
target/${{ matrix.target }}/release/librealm.h
build-windows:
runs-on: windows-latest
Expand All @@ -86,7 +86,7 @@ jobs:
with:
name: realm-${{ matrix.target }}
path: |
target/${{ matrix.target }}/release/librealm.lib
target/${{ matrix.target }}/release/realm.lib
target/${{ matrix.target }}/release/librealm.h
build-apple:
runs-on: macos-latest
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
run: |
mkdir -p release-${{ matrix.target }}
cd release-${{ matrix.target }}
tar -C ../target/${{ matrix.target }}/release -zcf realm-${{ matrix.target }}.tar.gz librealm.lib librealm.h
ls ../target/${{ matrix.target }}/release/
tar -C ../target/${{ matrix.target }}/release -zcf realm-${{ matrix.target }}.tar.gz realm.lib librealm.h
- name: add signature
run: |
cd release-${{ matrix.target }}
Expand Down Expand Up @@ -85,7 +86,8 @@ jobs:
run: |
mkdir -p release-${{ matrix.target }}
cd release-${{ matrix.target }}
tar -C ../target/${{ matrix.target }}/release/ -zcf realm-${{ matrix.target }}.tar.gz librealm.lib librealm.h
ls ../target/${{ matrix.target }}/release/
tar -C ../target/${{ matrix.target }}/release/ -zcf realm-${{ matrix.target }}.tar.gz realm.lib librealm.h
openssl dgst -sha256 -r realm-${{ matrix.target }}.tar.gz > realm-${{ matrix.target }}.sha256
- name: release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit ee40945

Please sign in to comment.