@@ -107,6 +107,45 @@ jobs:
107107 packages/solara-vuetify-app/dist
108108 packages/solara-vuetify3-app/dist
109109
110+ - name : Publish dev wheels to object storage
111+ if : github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
112+ env :
113+ AWS_ACCESS_KEY_ID : ${{ secrets.S3_ACCESS_KEY_ID }}
114+ AWS_SECRET_ACCESS_KEY : ${{ secrets.S3_SECRET_ACCESS_KEY }}
115+ AWS_REGION : nbg1
116+ AWS_ENDPOINT_URL_S3 : https://nbg1.your-objectstorage.com
117+ S3_BUCKET : ipyvue3-packages
118+ run : |
119+ python -m pip install --upgrade awscli
120+
121+ aws s3 cp dist/ "s3://${S3_BUCKET}/packages/solara/" \
122+ --recursive \
123+ --exclude "*" \
124+ --include "*.whl" \
125+ --endpoint-url "$AWS_ENDPOINT_URL_S3" \
126+ --region "$AWS_REGION"
127+
128+ aws s3 cp packages/solara-meta/dist/ "s3://${S3_BUCKET}/packages/solara-meta/" \
129+ --recursive \
130+ --exclude "*" \
131+ --include "*.whl" \
132+ --endpoint-url "$AWS_ENDPOINT_URL_S3" \
133+ --region "$AWS_REGION"
134+
135+ aws s3 cp packages/solara-server/dist/ "s3://${S3_BUCKET}/packages/solara-server/" \
136+ --recursive \
137+ --exclude "*" \
138+ --include "*.whl" \
139+ --endpoint-url "$AWS_ENDPOINT_URL_S3" \
140+ --region "$AWS_REGION"
141+
142+ aws s3 cp packages/pytest-ipywidgets/dist/ "s3://${S3_BUCKET}/packages/pytest-ipywidgets/" \
143+ --recursive \
144+ --exclude "*" \
145+ --include "*.whl" \
146+ --endpoint-url "$AWS_ENDPOINT_URL_S3" \
147+ --region "$AWS_REGION"
148+
110149 code-quality :
111150 runs-on : ubuntu-latest
112151 strategy :
@@ -731,7 +770,6 @@ jobs:
731770 runs-on : ubuntu-latest
732771 permissions :
733772 id-token : write # this permission is mandatory for trusted publishing
734- contents : write
735773
736774 steps :
737775 - uses : actions/checkout@v6
@@ -766,21 +804,6 @@ jobs:
766804 - name : Test import solara-enterprise
767805 run : python -c "import solara_enterprise"
768806
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-
784807 - name : Publish solara-meta to PyPI
785808 if : startsWith(github.event.ref, 'refs/tags/v')
786809 env :
0 commit comments