Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
send

GitHub Action

App Center Distribute

v1.0.3

App Center Distribute

send

App Center Distribute

GitHub Action that uploads artefacts for Visual Studio App Center

Installation

Copy and paste the following snippet into your .yml file.

              

- name: App Center Distribute

uses: devussy/[email protected]

Learn more about this action in devussy/AppCenter-Distribute-Github-Action

Choose a version

App Center Github Action

Sample workflow for App Center action

This action uploads artifacts (.apk or .ipa) to Visual Studio App Center.

Inputs

appName

Required username followed by App name e.g. devussy/Sample-App

token

Required Upload token - you can get one from appcenter.ms/settings

group

Required Distribution group (or multiple groups split by ; delimiter)

file

Required Artifact to upload (.apk or .ipa)

buildVersion

Build version parameter required for .zip, .msi, .pkg and .dmg files

buildNumber

Build number parameter required for macOS .pkg and .dmg files

releaseNotes

Release notes visible on release page

gitReleaseNotes

Generate release notes based on the latest git commit

notifyTesters

If set to true, an email notification is sent to the distribution group

debug

If set to true, shows useful debug information from the action execution.

Requirements

This action is Docker-based. It means it can only execute on runners with a Linux operating system. See Github Actions documentation for details.

Sample usage

name: Build, code quality, tests

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - name: set up JDK 1.8
      uses: actions/setup-java@v1
      with:
        java-version: 1.8
    - name: build release
      run: ./gradlew assembleRelease
    - name: upload artefact to App Center
      uses: devussy/[email protected]
      with:
        appName: devussy/Sample-App
        token: ${{secrets.APP_CENTER_TOKEN}}
        group: Testers
        file: app/build/outputs/apk/release/app-release-unsigned.apk
        notifyTesters: true
        debug: false