GitHub Action
App Center
This action uploads artifacts (.apk or .ipa) to Visual Studio App Center.
Required username followed by App name e.g. wzieba/Sample-App
Required Upload token - you can get one from appcenter.ms/settings
Required Distribution group (or multiple groups split by ; delimiter)
Required Artifact to upload (.apk or .ipa)
Build version parameter required for .zip, .msi, .pkg and .dmg files
Build number parameter required for macOS .pkg and .dmg files
Release notes visible on release page
Generate release notes based on the latest git commit
If set to true, an email notification is sent to the distribution group
If set to true, shows useful debug information from the action execution.
This action is Docker-based. It means it can only execute on runners with a Linux operating system. See Github Actions documentation for details.
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