Build and publish
Your own releases
Already attach zips to GitHub releases? PushPlay plays them as they are, with no workflow and nothing exported twice.
If your game already publishes GitHub releases with a zip per platform, made by Godot, Unity, Ren’Py, your own CI or by hand, PushPlay can play those. Keep your engine, your repo and your release workflow.
With no files of ours
Connect the repo in PushPlay and it plays. PushPlay uses the newest published release that has a build in it (drafts, pre-releases and releases with no zips are skipped, so a docs-only release doesn’t make the game vanish) and reads each zip’s platform from its name:
| Platform | Words in the name | Example |
|---|---|---|
| Web | web, html5, browser, webgl |
Rocket-HTML5.zip |
| Steam Deck and Linux | linux, linux64, steamos, deck (add arm64 for Arm) |
Rocket-Linux.zip |
| Windows | windows, win, win64 |
Rocket-Windows.zip |
| Mac | mac, macos, osx (add arm64 or x64 to split them) |
Rocket-macOS.zip |
Only one zip, with no platform in its name? PushPlay looks inside for an index.html, a .x86_64, an .exe or an .app. Source, symbol and server zips are ignored. A zip named pushplay-<platform>.zip (pushplay-linux-x64.zip) always wins.
Each device installs its own build when there is one, and the web build otherwise. Builds for other systems still show on the game’s page, greyed out.
Say exactly which file is which
A pushplay.json at the top of the repo gives the game its name, description, genres and art, and release names each platform’s file exactly as it appears in the release:
{
"$schema": "https://raw.githubusercontent.com/Visual-Zone-Development/pushplay-kit/v1/schema/manifest.schema.json",
"id": "star-drift",
"name": "Star Drift",
"description": "Race a little ship through asteroid fields. One to four players.",
"players": "1-4",
"genres": ["racing"],
"modes": ["single", "local-versus"],
"tags": ["space"],
"inputs": ["gamepad", "keyboard"],
"release": {
"web": "StarDrift-*-web.zip",
"linux-x64": "StarDrift-*-linux.zip",
"windows-x64": "StarDrift-*-windows.zip"
},
"entry": { "linux-x64": "StarDrift.x86_64", "windows-x64": "StarDrift.exe" },
"launch": { "linux-x64": { "args": ["--fullscreen"] } },
"art": { "cover": "art/cover.png", "hero": "art/hero.png" }
}
*matches what changes with each version:StarDrift-*-linux.zipmatchesStarDrift-1.2.0-linux.zip, and notStarDrift-linux.zip. Matching ignores upper and lower case. A name that matches nothing leaves that platform out, and PushPlay shows which platforms it found."release": truekeeps finding them by name.entryis optional. Name it when a zip holds more than one program.- Only
id,nameandreleaseare required. Everything else makes the game look better; the check tells you what. - Art is PNG, JPG or WebP here, shown as it is. SVG and HTML art, and the banner and landscape drawn from the hero, need the workflow.
- No new release needed to change any of this: PushPlay reads the file from the default branch each time it looks.
Where it plays
This plays in the launcher on the systems your zips are for. A Linux build plays on a Steam Deck; a Windows-only game doesn’t (there’s no Proton). A phone plays web builds, so name a web zip if you export one, and the game plays in the app too (Library → Add game there).
Automate the zips (optional)
A small workflow can attach a web build to every release you publish:
name: Release builds
on:
release:
types: [published]
permissions:
contents: write
jobs:
web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci && npm run build
- run: cd dist && zip -r ../Game-HTML5.zip .
- run: gh release upload "${{ github.event.release.tag_name }}" Game-HTML5.zip --clobber
env:
GH_TOKEN: ${{ github.token }}
For Godot, export each platform with godot --headless --export-release "<preset>" <file> in a job that has the export templates, zip each output, and upload them the same way.
Edit this page on GitHub · Something missing or wrong? Tell us.