-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yaml
More file actions
35 lines (31 loc) · 1014 Bytes
/
action.yaml
File metadata and controls
35 lines (31 loc) · 1014 Bytes
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
name: 'lambda-build-project'
description: 'Fetches LFS changes, runs premake and builds a project'
branding:
icon: hard-drive
color: purple
inputs:
project-path:
description: 'Path to .vcxproj'
required: true
build-configuration:
Description: 'Build configuration, eg. Production x64_StaticLib'
required: true
runs:
using: "composite"
steps:
- name: Read LFS Cache
run: cp -r -Force ../../.git/lfs .git/
shell: powershell
# Fetches changes and replaces LFS pointers with their actual contents
- name: Pull From LFS
run: git lfs pull
shell: powershell
- name: Update LFS Cache
run: cp -r -Force .git/lfs ../../.git/
shell: powershell
- name: Execute Premake
run: .\premake5.exe vs2019
shell: powershell
- name: Build CrazyCanvas Production
run: msbuild ${{ inputs.project-path }} -p:Configuration="${{ inputs.build-configuration }}" -p:Platform=x64
shell: powershell