Skip to content

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

License

Notifications You must be signed in to change notification settings

wzieba/AppCenter-Github-Action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. wzieba/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: wzieba/AppCenter-Github-Action@v1
      with:
        appName: wzieba/Sample-App
        token: ${{secrets.APP_CENTER_TOKEN}}
        group: Testers
        file: app/build/outputs/apk/release/app-release-unsigned.apk
        notifyTesters: true
        debug: false