File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -731,6 +731,7 @@ jobs:
731731 runs-on : ubuntu-latest
732732 permissions :
733733 id-token : write # this permission is mandatory for trusted publishing
734+ contents : write
734735
735736 steps :
736737 - uses : actions/checkout@v6
@@ -765,6 +766,21 @@ jobs:
765766 - name : Test import solara-enterprise
766767 run : python -c "import solara_enterprise"
767768
769+ - name : Publish wheels to GitHub Release (vue3-dev)
770+ if : github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
771+ env :
772+ GH_TOKEN : ${{ github.token }}
773+ run : |
774+ tag="vue3-dev"
775+ 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 }}"
776+ gh release upload "$tag" \
777+ dist/*.whl \
778+ packages/solara-meta/dist/*.whl \
779+ packages/solara-server/dist/*.whl \
780+ packages/pytest-ipywidgets/dist/*.whl \
781+ --repo "${{ github.repository }}" \
782+ --clobber
783+
768784 - name : Publish solara-meta to PyPI
769785 if : startsWith(github.event.ref, 'refs/tags/v')
770786 env :
You can’t perform that action at this time.
0 commit comments