forked from Tencent/puerts
-
Notifications
You must be signed in to change notification settings - Fork 1
74 lines (66 loc) · 2.02 KB
/
unity_build_plugins_custom.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: unity build plugins (custom backend)
on:
workflow_dispatch:
inputs:
backend:
description: 'js backend'
required: true
config:
type: choice
description: Release Or Debug
options:
- Release
- Debug
env:
RUNID: 613573412
jobs:
android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: BuildAndroid
uses: ./.github/workflows/composites/unity-build-plugins/android/
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
backend: ${{ github.event.inputs.backend }}
config: ${{ github.event.inputs.config }}
ios:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: BuildiOS
uses: ./.github/workflows/composites/unity-build-plugins/ios/
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
backend: ${{ github.event.inputs.backend }}
config: ${{ github.event.inputs.config }}
osx:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: BuildOSX
uses: ./.github/workflows/composites/unity-build-plugins/osx/
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
backend: ${{ github.event.inputs.backend }}
config: ${{ github.event.inputs.config }}
windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: BuildWindows
uses: ./.github/workflows/composites/unity-build-plugins/windows/
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
backend: ${{ github.event.inputs.backend }}
config: ${{ github.event.inputs.config }}
linux64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: BuildLinux
uses: ./.github/workflows/composites/unity-build-plugins/linux/
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
backend: ${{ github.event.inputs.backend }}
config: ${{ github.event.inputs.config }}