-
Notifications
You must be signed in to change notification settings - Fork 7
43 lines (36 loc) · 1.06 KB
/
release.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
name: Release Build
on:
push:
tags:
- '**'
jobs:
release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup premake
uses: abel0b/setup-premake@v2
with:
version: "5.0.0-beta1"
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
- name: Generate premake5 project
run: premake5 vs2019
shell: bash
- name: Build 32bit and 64bit release executables
run: |
msbuild /p:Configuration=Release /p:Platform=x64 Injector.sln
msbuild /p:Configuration=Release /p:Platform=Win32 Injector.sln
- name: Rename 32bit build executable
run: ren Injector.exe Injector_x32.exe
working-directory: bin/Release/x32
- name: Release
uses: softprops/action-gh-release@v1
with:
body: "<!--- Insert Changelog Here --->"
draft: true
files: |
bin/Release/x64/Injector.exe
bin/Release/x32/Injector_x32.exe