Code Monkey home page Code Monkey logo

appcenteraction's Introduction

AppCenterAction

Upload artefacts to App Center by GitHub Action.

Summary

Inspired by wzieba/AppCeter-Github-Action, without limitation of executing on runners with a Linux operating system.

Sample usage

name: Build and publish to App Center

on: [push]

jobs:
  build:
    runs-on: macos-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v4
      - name: Set up JDK 17
        uses: actions/setup-java@v3
        with:
          distribution: 'oracle'
          java-version: '17'
      - name: Build release
        run: ./gradlew assembleRelease
      - name: Upload artefact to App Center
        uses: tomisacat/AppCenterAction@main # not published to marketplace yet
        with:
          appName: tomisacat/Sample-App
          token: ${{ secrets.APP_CENTER_TOKEN }}
          group: Testers
          file: /path/to/app/build/outputs/apk/release/app-apk-name.apk
          notifyTesters: true
          debug: false

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.