Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
id-token: write # this permission is mandatory for trusted publishing
contents: write

steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -765,6 +766,21 @@ jobs:
- name: Test import solara-enterprise
run: python -c "import solara_enterprise"

- name: Publish wheels to GitHub Release (vue3-dev)
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
env:
GH_TOKEN: ${{ github.token }}
run: |
tag="vue3-dev"
gh release view "$tag" --repo "${{ github.repository }}" >/dev/null 2>&1 || gh release create "$tag" --repo "${{ github.repository }}" --title "$tag" --notes "Auto-updated Vue 3 dev builds" --prerelease --target "${{ github.sha }}"
gh release upload "$tag" \
dist/*.whl \
packages/solara-meta/dist/*.whl \
packages/solara-server/dist/*.whl \
packages/pytest-ipywidgets/dist/*.whl \
--repo "${{ github.repository }}" \
--clobber

- name: Publish solara-meta to PyPI
if: startsWith(github.event.ref, 'refs/tags/v')
env:
Expand Down
3 changes: 3 additions & 0 deletions solara/server/static/main-vuetify.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ async function solaraInit(mountId, appName) {
console.log('solara init', mountId, appName);
define("vue", [], () => Vue);
define("vuetify", [], () => Vuetify);
if (typeof vuetifyPlugin !== "undefined") {
define("solara-vuetify-plugin", [], () => ({ vuetifyPlugin }));
}
cookies = getCookiesMap(document.cookie);
const searchParams = new URLSearchParams(window.location.search);
let kernelId = searchParams.get('kernelid') || generateUuid()
Expand Down
Loading