-
-
Notifications
You must be signed in to change notification settings - Fork 4
46 lines (37 loc) · 998 Bytes
/
build.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
name: Build
on:
workflow_dispatch:
push:
branches:
defaults:
run:
shell: bash
jobs:
build:
runs-on: ${{ matrix.os-type }}
strategy:
matrix:
os-type: [ windows-2019, macos-12 ]
ac-version: [ 25, 26, 27 ]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Checkout the submodule
uses: actions/checkout@v3
with:
submodules: recursive
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Run build script
run: |
python Tools/BuildAddOn.py --configFile config.json --acVersion ${{ matrix.version }} --release --package
- name: Create Release
if: startsWith(github.ref, 'refs/tags/')
uses: ncipollo/release-action@v1
with:
artifacts: Build/Package/*.zip
draft: true
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}