From 8ecfd8f2618dea7c72ec5915049e7f58bd1c043e Mon Sep 17 00:00:00 2001 From: pngwn Date: Fri, 8 Dec 2023 20:11:39 +0000 Subject: [PATCH] fix workflow --- .github/workflows/publish.yml | 2 +- frontend/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ef8c09b..7978e7c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,4 +31,4 @@ jobs: run: | gradio cc install --npm-install="pnpm i" gradio cc build - gradio cc publish --pypi_username=__token__ --pypi_password=${{ secrets.PYPI_API_TOKEN }} --upload_demo=False + gradio cc publish --pypi-username=__token__ --pypi-password=${{ secrets.PYPI_API_TOKEN }} --upload-demo=False diff --git a/frontend/package.json b/frontend/package.json index 195a0b8..c9ee7e8 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -23,8 +23,8 @@ }, "main_changeset": true, "exports": { - ".": "./index.svelte", + ".": "./Index.svelte", "./package.json": "./package.json", "./example": "./example/index.ts" } -} \ No newline at end of file +}