Skip to content
activity

GitHub Action

Cocos Creator Build

v1.2.3 Pre-release

Cocos Creator Build

activity

Cocos Creator Build

A github action for cocos creator build

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Cocos Creator Build

uses: miggene/[email protected]

Learn more about this action in miggene/cocos-build

Choose a version

Cocos Creator Build

This action provides the following functionality for Github Actions users:

  • automate building for cocos creator project
  • configuring cocos_download_url, cocos-version, cocos_type, project_path, platform, build_path for building
  • only run on mac
inputs required description default
cocos_download_url false cocos creator download urls https://creator-api.cocos.com/api/cocoshub/editor_version_list?lang=zh
cocos_version false cocos creator version 0.0.0
cocos_type false cocos creator type(2d/3d) 2d
project_path False project path for build ./
platform false platform to build web-mobile
build_path false build path ./build

Usage

See action.yml

Basic

steps:
    - uses: actions/checkout@v2
    - name: Cocos Creator Build
    uses: miggene/[email protected]
    with:
        cocos_version: 2.4.5