-
Notifications
You must be signed in to change notification settings - Fork 60
39 lines (32 loc) · 918 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
name: Build
# Controls when the action will run.
on:
push:
branches:
- '**'
pull_request:
workflow_call:
jobs:
publish:
name: "${{ matrix.os }} ${{ matrix.config }} - UE ${{ matrix.version }}"
runs-on: [self-hosted, "UE-${{ matrix.version }}", "${{ matrix.os }}"]
env:
CI_PLUGIN: SaveExtension
strategy:
fail-fast: false
matrix:
config: [Release]
os: [Windows, Linux]
version: [ "5.3" ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download Piperift Scripts
run: git clone https://github.com/PipeRift/CICDScripts Scripts
- name: Cache Build
uses: actions/cache@v3
with:
path: Build
key: ${{ matrix.os }}-${{ matrix.config }}-${{ matrix.version }}
- name: Build Plugin
run: python Scripts/build.py plugin -n ${{ env.CI_PLUGIN }} -p .