GitHub Actions

GitHub Actions App Distribution, From Push to Install Link

Add AppShare as a step in your GitHub Actions workflow to automate app distribution: every push, merge, or tag becomes a release, with no manual upload once it’s wired in.

What You Get

Three Reasons Teams Automate This Step

  • No One Forgets to Upload

    The release happens as part of the pipeline, not as a task someone has to remember after it.

  • Testers Are Always Current

    Every merge to main ends up installable within minutes, so testers are never behind on the latest build.

  • One Workflow File

    Set it up once in your repo, and it applies to every push after, no repeated manual work.

SETUP

Set Up GitHub Actions App Deployment in Four Steps

Add one workflow file to your repository, and every new .apk or .ipa reaches testers automatically.

1
Step 1

Add a new workflow file under .github/workflows/appshare.yml.

2

Add your API key as a secret

Secret

In Settings → Secrets and variables → Actions, add APPSHARE_API_KEY.

3

Paste the workflow job

Workflow

Add the upload step after your build artifacts are ready.

4

Commit & Push

Deploy

Push your changes to trigger your first automated release.

Step 1 of 4
Step 1

Create the workflow file

Create .github/workflows/appshare.yml in your repository.

.github/workflows/appshare.yml

name: Upload to AppShare

on:
  push:
    branches: [ main ]
    tags: [ 'v*' ]
  workflow_dispatch:

LIFECYCLE

What Actually Happens on a Push

  • 01

    Push to Main

    A developer merges or pushes a commit, the trigger the workflow is watching for.

  • 02

    Runner Builds the App

    GitHub checks out the code and runs the real build command, producing the actual .apk or .ipa.

  • 03

    AppShare CLI Installs

    The workflow installs AppShare CLI fresh, right after that build step finishes.

  • 04

    Build Gets Pushed

    The CLI reads the API key from the secret and uploads the file the build step just produced.

UNDER THE HOOD

GitHub Actions Just Calls the CLI

Every line in that workflow is AppShare CLI, the same tool you'd run from your own terminal, just triggered by GitHub instead of you.

Other Platforms

AppShare Works With Your Pipeline Too

FAQ

Questions About the GitHub Actions Integration

What is GitHub Actions app distribution?

It means using a GitHub workflow to send every new Android or iOS build to testers automatically. With AppShare, the workflow builds your app, installs the AppShare CLI, and uploads the .apk or .ipa on each push, merge, or tag. Testers get an install link and QR code without anyone uploading the build by hand.

How does GitHub IPA deployment work with AppShare?

The upload step is identical: point the AppShare CLI at the .ipa your macOS runner produced. The difference is signing. The build must be signed in the workflow before upload, and ad hoc builds only install on devices whose UDIDs are in the provisioning profile, so register tester devices in AppShare before the build runs.

What triggers the release?

Whatever event you set in the workflow’s on: block. A push to main is the most common, but pull requests, version tags such as v1.2.0, or a manual run from the Actions tab work too. To release only on tags, trigger on push: tags: instead of branches:, and every other push skips the upload.

How do I set up GitHub Actions APK deployment?

Add a workflow file under .github/workflows/appshare.yml, store your AppShare API key as a repository secret, and add the upload step after your Gradle build produces the .apk. Every push to main then uploads the build and returns an install link. AppShare delivers the APK to testers and teammates; it does not publish to Google Play.

How do I keep my API key out of the workflow file?

Store it as a repository secret under Settings, Secrets and variables, Actions, then reference it through the secrets context instead of pasting the value into the file. Nothing needs to be preinstalled on the runner, because the workflow installs the AppShare CLI itself with npm install -g zunoy-appshare-cli as one of its steps.

Can I add release notes automatically?

Not from the pipeline yet. The AppShare CLI uploads the build (appshare <file> --app-id <slug>) and has no release notes flag. Once the upload finishes, add or edit the notes on the release's Release Notes tab in AppShare, and testers see them on the install page.

Get Started

Add It to Your Next Push

Paste the workflow, add your API key, and the next merge to main ships itself.

  • Free plan available

  • Works with any repo

  • No manual upload after setup

About Zunoy

Ask a question about Zunoy's products, pricing, or docs.

⌘K