Skip to content

Commit 2cb935e

Browse files
committed
chores
1 parent c22860b commit 2cb935e

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
workflow_dispatch:
1616

1717
jobs:
18-
buildDeb:
18+
buildLinux:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4
@@ -34,7 +34,7 @@ jobs:
3434
- name: Install dependencies
3535
run: pnpm install
3636

37-
- name: forge make
37+
- name: forge make deb
3838
run: pnpm make:deb
3939

4040
- name: Set version
@@ -49,12 +49,12 @@ jobs:
4949
5050
- uses: actions/upload-artifact@v4
5151
with:
52-
name: linux-build-file
53-
path: ./out/all/Yomikiru-${{ steps.version.outputs.version }}-amd64.deb
52+
name: linux-build-files
53+
path: ./out/all/*
5454
if-no-files-found: error
5555

5656
build:
57-
needs: buildDeb
57+
needs: buildLinux
5858
runs-on: windows-latest
5959
steps:
6060
- uses: actions/checkout@v4
@@ -74,9 +74,9 @@ jobs:
7474
run: pnpm install
7575

7676
- uses: actions/download-artifact@v4
77-
id: linux-build-file-downloader
77+
id: linux-build-files-downloader
7878
with:
79-
name: linux-build-file
79+
name: linux-build-files
8080
path: ./out/all/
8181

8282
- name: Build for windows

src/renderer/features/reader/epub/StyleSheets.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const StyleSheets = memo(
4747
></div>
4848
);
4949
},
50-
(prev, next) => prev.sheets.length === next.sheets.length && prev.sheets[0] === next.sheets[0],
50+
(prev, next) => JSON.stringify(prev.sheets) === JSON.stringify(next.sheets),
5151
);
5252
StyleSheets.displayName = "StyleSheets";
5353

0 commit comments

Comments
 (0)