@@ -202,121 +202,3 @@ jobs:
202202
203203 - name : Publish to PyPI
204204 uses : pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1
205-
206- github-release :
207- name : Create GitHub Release (All enabled platforms)
208- needs : [validate-version, test, test-examples]
209- runs-on : ubuntu-latest
210- if : false
211- permissions :
212- contents : write
213- steps :
214- - name : Download all wheels (all enabled platforms)
215- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
216- with :
217- pattern : wheel-*-py*
218- path : dist/
219- merge-multiple : true
220-
221- - name : Create GitHub Release
222- uses : softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
223- with :
224- files : dist/*.whl
225- generate_release_notes : true
226- draft : false
227- prerelease : ${{ contains(github.ref_name, 'dev') || contains(github.ref_name, 'rc') || contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') }}
228- body : |
229- ## 🎮 ArcadeDB Embedded Python Bindings v${{ needs.validate-version.outputs.python-version }}
230-
231- ### 📦 Installation
232-
233- **Recommended (PyPI):**
234- ```bash
235- uv pip install arcadedb-embedded==${{ needs.validate-version.outputs.python-version }}
236- ```
237-
238- ### 🌍 Supported Platforms
239-
240- **Available on PyPI**:
241- - ✅ **Linux x86_64** (servers, CI/CD, Docker, cloud)
242- - ✅ **Linux ARM64** (Raspberry Pi, AWS Graviton)
243- - ✅ **macOS Apple Silicon** (M1/M2/M3/M4)
244-
245- ### 📚 Links
246- - [PyPI Package](https://pypi.org/project/arcadedb-embedded/${{ needs.validate-version.outputs.python-version }}/)
247- - [Documentation](https://github.com/${{ github.repository }})
248- - [Examples](https://github.com/${{ github.repository }}/tree/main/bindings/python/examples)
249-
250- ### 🔽 Direct Downloads
251- All available wheels are attached below. Most users should install via uv (auto-selects correct wheel).
252-
253- ---
254- **Based on ArcadeDB v${{ needs.validate-version.outputs.base-version }}**
255-
256- update-pypi-index :
257- name : Update PyPI simple index on GitHub Pages (All 6 platforms)
258- needs : [validate-version, github-release]
259- runs-on : ubuntu-latest
260- if : false
261- permissions :
262- contents : write
263- env :
264- GH_TOKEN : ${{ github.token }}
265- steps :
266- - name : Checkout gh-pages branch
267- uses : actions/checkout@v4
268- with :
269- ref : gh-pages
270-
271- - name : Generate PyPI simple index
272- shell : bash
273- env :
274- VERSION : ${{ needs.validate-version.outputs.python-version }}
275- REPO : ${{ github.repository }}
276- run : |
277- # Create simple index directory structure
278- mkdir -p simple/arcadedb-embedded
279-
280- # Generate index.html header
281- cat > simple/arcadedb-embedded/index.html <<'EOF'
282- <!DOCTYPE html>
283- <html>
284- <head>
285- <title>Links for arcadedb-embedded</title>
286- <meta name="pypi:repository-version" content="1.0">
287- </head>
288- <body>
289- <h1>Links for arcadedb-embedded</h1>
290- <p><strong>Alternative PyPI index with all 6 platforms</strong> (official PyPI only has 3 main platforms)</p>
291- <p>Usage: <code>uv pip install --extra-index-url https://humemai.github.io/arcadedb-embedded-python/simple arcadedb-embedded</code></p>
292- <p><em>Note: Intel Mac users can use the Apple Silicon wheel via Rosetta 2, or download the native Intel wheel for best performance.</em></p>
293- <hr/>
294- EOF
295-
296- # Get all releases and add wheel links (all 6 platforms from GitHub)
297- echo "📋 Fetching all releases..."
298- gh release list --limit 100 --json tagName | jq -r '.[].tagName' | while read -r tag; do
299- echo " Processing release: $tag"
300- # Get wheel assets for this release
301- gh release view "$tag" --json assets --jq '.assets[] | select(.name | endswith(".whl")) | .name' | while read -r wheel; do
302- echo "<a href=\"https://github.com/${{ github.repository }}/releases/download/$tag/$wheel\">$wheel</a><br/>" >> simple/arcadedb-embedded/index.html
303- done
304- done
305-
306- # Close HTML
307- cat >> simple/arcadedb-embedded/index.html <<'EOF'
308- </body>
309- </html>
310- EOF
311-
312- echo "✅ Generated PyPI simple index:"
313- cat simple/arcadedb-embedded/index.html
314-
315- - name : Commit and push index
316- shell : bash
317- run : |
318- git config user.name "github-actions[bot]"
319- git config user.email "github-actions[bot]@users.noreply.github.com"
320- git add simple/
321- git commit -m "Update PyPI simple index for v${{ needs.validate-version.outputs.python-version }}" || echo "No changes to commit"
322- git push
0 commit comments