GithubHelp home page GithubHelp logo

rusmonster / internal-app-sharing-action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sagar-viradiya/internal-app-sharing-action

0.0 1.0 0.0 1.73 MB

GitHub Action to upload aab/apk to Internal App Sharing on Play console

License: Apache License 2.0

TypeScript 64.48% JavaScript 35.52%

internal-app-sharing-action's Introduction

Internal Testing Uploader

GitHub Action to upload aab/apk to Internal Test Track (internal, alphha, beta etc) on Play console.

Inputs

serviceAccountJsonPlainText

Required: Service account JSON in plain text to authenticate upload request. Note that it should be in the plain text and not in actual JSON file format so we recommend setting it as a GitHub secret and then pass it to input.

packageName

Required: Your application's package name(Application ID).

apkFilePath

Path to your application's apk file.

aabFilePath

Path to your application's aab file.

track

Testing track name: internal, alpha, beta etc

Outputs

versionCode

Version code of the uploaded artifact.

sha1

A sha1 hash of the artifact, encoded as a hex string and matching the output of the sha1sum command.

sha256

A sha256 hash of the artifact, encoded as a hex string and matching the output of the sha256sum command.

Sample for uploading aab

uses: rusmonster/[email protected]
with:
  serviceAccountJsonPlainText: ${{ secrets.<your-github-service-acc-json-secret> }}
  packageName: <your-package-name>
  aabFilePath: <path-to-aab>
  track: <track>

Sample for uploading apk

uses: rusmonster/[email protected]
with:
  serviceAccountJsonPlainText: ${{ secrets.<your-github-service-acc-json-secret> }}
  packageName: <your-package-name>
  apkFilePath: <path-to-apk>
  track: <track>

Action is taking care of deleting the Service Account JSON file it creates internally so that it won't get compromised for any reason ๐Ÿ™‚.

License

Copyright 2020 Sagar Viradiya

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

internal-app-sharing-action's People

Contributors

dependabot[bot] avatar nkshah2 avatar rusmonster avatar sagar-viradiya avatar

Watchers

 avatar

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.