Skip to content

Commit 1f529af

Browse files
committed
fix: cron build to 30mins, changed gh link, fixed soar install cmd
1 parent d38b13f commit 1f529af

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches: ["main"]
66
workflow_dispatch:
77
schedule:
8-
- cron: "0 * * * *"
8+
- cron: "*/30 * * * *"
99

1010
permissions: write-all
1111

web/src/components/app.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,16 +256,20 @@ export default function App({ data, logs: build, repo }: AppProps) {
256256
<Download className="text-blue-600 dark:text-blue-400" />
257257
<span>Install Package</span>
258258
</h2>
259-
<div className="w-full overflow-x-auto rounded bg-muted/70 p-2 relative">
259+
<div className="w-full rounded bg-muted/70 p-2 relative">
260260
<Tooltip>
261261
<TooltipTrigger asChild>
262262
<code
263-
onClick={() => copy(`soar add "${data.pkg_id}"`)}
264-
className="block cursor-pointer font-mono text-sm"
263+
onClick={() => copy(`soar add "${data.pkg_name}#${data.pkg_id}"`)}
264+
className="block cursor-pointer whitespace-pre-wrap break-all font-mono text-sm"
265265
>
266266
<span className="text-blue-600 dark:text-blue-400">soar</span>
267267
<span className="text-foreground"> add </span>
268-
<span className="text-green-600 dark:text-green-400">{data.pkg_id}</span>
268+
<span className="text-muted-foreground">"</span>
269+
<span className="text-green-600 dark:text-green-400">{data.pkg_name}</span>
270+
<span className="text-muted-foreground">#</span>
271+
<span className="text-red-600 dark:text-red-400">{data.pkg_id}</span>
272+
<span className="text-muted-foreground">"</span>
269273
</code>
270274
</TooltipTrigger>
271275
<TooltipContent>

web/src/components/social-link.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { buttonVariants } from './ui/button';
1212
const links = [
1313
{
1414
text: "GitHub",
15-
href: "https://github.com/pkgforge",
15+
href: "https://github.com/pkgforge/soarpkgs",
1616
target: "_blank",
1717
icon: 1,
1818
},

0 commit comments

Comments
 (0)