An open API service indexing awesome lists of open source software.

https://github.com/wzieba/appcenter-github-action

This action uploads artifacts (.apk or .ipa) to Visual Studio App Center.
https://github.com/wzieba/appcenter-github-action

apk appcenter distribution ipa

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# App Center Github Action

![Sample workflow for App Center action](https://github.com/wzieba/AppCenter-Github-Action/workflows/Sample%20workflow%20for%20App%20Center%20action/badge.svg?branch=master)
![](https://img.shields.io/github/v/release/wzieba/AppCenter-Github-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](https://docs.github.com/en/actions/creating-actions/about-actions#docker-container-actions) 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
```