Skip to content

Commit

Permalink
fix CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
hellno committed Aug 22, 2023
1 parent f6add94 commit fca8cba
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:

jobs:
build:
permissions:
contents: write
strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -67,10 +69,8 @@ jobs:
# APPLE_ID: ${{ secrets.APPLE_ID }}
# APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
with:
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: 'herocast v__VERSION__'
# releaseBody: 'See the assets to download this version and install.'
# releaseDraft: true
prerelease: false

- name: Upload release artifacts
Expand Down
100 changes: 100 additions & 0 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ tauri-build = { version = "1.4.0", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.4.0", features = [ "devtools", "shell-open", "http-all", "system-tray", "icon-ico", "icon-png"] }
tauri = { version = "1.4.0", features = [ "updater", "devtools", "shell-open", "http-all", "system-tray", "icon-ico", "icon-png"] }
# tauri-plugin-store = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
# tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
# tauri-plugin-sql = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1", features= ["postgres"] }
Expand Down
16 changes: 11 additions & 5 deletions src/pages/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,14 @@ export default function Home() {
{/* Sidebar component, swap this element with another sidebar if you like */}
<div className="flex grow flex-col gap-y-5 overflow-y-auto bg-gray-900 px-6 ring-1 ring-white/10">
<div className="flex h-16 shrink-0 items-center">
<img
{/* <img
className="h-8 w-auto"
src="./src/assets/images/herocast.png"
alt="herocast"
/>
/> */}
<h2 className="text-2xl font-bold leading-7 text-white sm:truncate sm:text-3xl sm:tracking-tight">
herocast
</h2>
</div>
<nav className="flex flex-1 flex-col">
<ul role="list" className="flex flex-1 flex-col gap-y-7">
Expand Down Expand Up @@ -171,11 +174,14 @@ export default function Home() {
{/* Sidebar component, swap this element with another sidebar if you like */}
<div className="flex grow flex-col gap-y-5 overflow-y-auto bg-black/10 px-6 ring-1 ring-white/5">
<div className="flex h-16 shrink-0 items-center">
<img
{/* <img
className="h-8 w-auto"
src="./src/assets/images/herocast.png"
alt="herocast"
/>
/> */}
<h2 className="text-2xl font-bold leading-7 text-white sm:truncate sm:text-3xl sm:tracking-tight">
herocast
</h2>
</div>
<nav className="flex flex-1 flex-col">
<ul role="list" className="flex flex-1 flex-col gap-y-7">
Expand Down Expand Up @@ -228,7 +234,7 @@ export default function Home() {
<span className="sr-only">Open sidebar</span>
<Bars3Icon className="h-5 w-5" aria-hidden="true" />
</button>
<h1 className="text-base font-semibold leading-7 text-white">{title}</h1>
<h1 className="text-2xl font-semibold leading-7 text-white">{title}</h1>
<h1 className="text-base font-semibold leading-7 text-white"></h1>
</header>
<div className="flex items-center justify-between px-4 py-4 border border-white/5 sm:px-6 sm:py-2 lg:px-8">
Expand Down

0 comments on commit fca8cba

Please sign in to comment.