55 - pull_request
66 - workflow_dispatch
77
8+ permissions :
9+ contents : write
10+
811jobs :
912 lint :
1013 runs-on : ubuntu-22.04
7376 - name : Install ipyvuetify
7477 run : |
7578 pip install jupyter_core jupyter-packaging "jupyterlab<4"
76- python -m pip install https://github.com/widgetti/ipyvue/archive/refs/heads/vue3.zip "$(find dist -name *.whl)"
79+ mkdir -p /tmp/ipyvue-wheel
80+ gh release download vue3-dev --repo widgetti/ipyvue --pattern "*.whl" --dir /tmp/ipyvue-wheel --clobber
81+ python -m pip install /tmp/ipyvue-wheel/*.whl "$(find dist -name '*.whl')"
7782 - name : test import
7883 run : (mkdir test-install; cd test-install; python -c "from ipyvuetify import Btn")
7984
9196 - name : Install ipyvuetify
9297 run : |
9398 pip install jupyter_core jupyter-packaging "jupyterlab<4"
94- python -m pip install https://github.com/widgetti/ipyvue/archive/refs/heads/vue3.zip "$(find dist -name *.whl)[test]"
99+ mkdir -p /tmp/ipyvue-wheel
100+ gh release download vue3-dev --repo widgetti/ipyvue --pattern "*.whl" --dir /tmp/ipyvue-wheel --clobber
101+ python -m pip install /tmp/ipyvue-wheel/*.whl "$(find dist -name '*.whl')[test]"
95102 - name : Install chromium
96103 run : playwright install chromium
97104 - name : Run ui-tests
@@ -103,6 +110,22 @@ jobs:
103110 name : ipyvuetify-test-results
104111 path : test-results
105112
113+ release-vue3-dev :
114+ if : github.event_name == 'push' && github.ref == 'refs/heads/vuetify3'
115+ needs : [lint, test, ui-test]
116+ runs-on : ubuntu-22.04
117+ steps :
118+ - uses : actions/download-artifact@v4
119+ with :
120+ name : ipyvuetify-dist-${{ github.run_number }}
121+
122+ - name : Create or update vue3-dev release
123+ env :
124+ GH_TOKEN : ${{ github.token }}
125+ run : |
126+ gh release view vue3-dev --repo "${{ github.repository }}" || gh release create vue3-dev --repo "${{ github.repository }}" --title "vue3-dev" --notes "Auto-updated Vue 3 dev builds" --prerelease --target "${{ github.sha }}"
127+ gh release upload vue3-dev dist/*.whl js/*.tgz --repo "${{ github.repository }}" --clobber
128+
106129 release-dry-run :
107130 needs : [test]
108131 runs-on : ubuntu-22.04
0 commit comments