GithubHelp home page GithubHelp logo

tiltingpoint / build-unity-github-action Goto Github PK

View Code? Open in Web Editor NEW
0.0 8.0 0.0 42 KB

Repository for an improved github action for unity building

License: MIT License

C# 69.49% JavaScript 30.51%

build-unity-github-action's Introduction

build-unity

GitHub Action to build Unity project.

Works on Ubuntu, macOS and Windows.

This fork of kuler90/build-unity. Default build method was removed. Unity on build activation added ( to give unity ability to upload symbols/dSym files on build ).

Inputs

unity-path

Path to Unity executable. UNITY_PATH env will be used if not provided.

project-path

Path to Unity project. Used to find Unity version. Default ${{ github.workspace }}.

build-target

Required Build target platform.

build-path

Path to build output. Only for default build method.

build-version

Set application version. Only for default build method.

build-number

Set application build number. Only for default build method.

build-defines

Set scripting define symbols. For example, RELEASE_VERSION;ENG_VERSION. Only for default build method.

build-options

List of additional BuildOptions. For example, SymlinkLibraries, CompressWithLz4HC. Only for default build method.

unity-username

Unity account user name.

unity-password

Unity account user password.

unity-serial

Unity account serial key.

build-method

Path to build method. For example, MyEditorScript.PerformBuild. Default build method will be used if not provided.

build-method-args

Custom arguments for build method.

Outputs

build-path

Path to build output.

Example usage

- name: Checkout project
  uses: actions/checkout@v2

- name: Setup Unity
  uses: kuler90/setup-unity@v1
  with:
    unity-modules: android ios

- name: Build Unity
  uses: TiltingPoint/[email protected]
  with:
    build-target: Android
    build-path: ./build.apk
    build-method: MyBuilder.Build
    build-method-args: -someParameter "someValue"

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.