-
Notifications
You must be signed in to change notification settings - Fork 5
47 lines (38 loc) · 1.13 KB
/
Release.yaml
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
name: Release
on:
push:
tags:
- '*'
jobs:
build:
runs-on: windows-latest # .NET Framework 4.8 requires Windows
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup MSBuild Path
uses: microsoft/[email protected]
- name: Setup NuGet.exe
uses: NuGet/[email protected]
- name: Restore NuGet packages
run: nuget restore Metatron.sln
- name: Build solution
run: msbuild Metatron.sln /p:Configuration=Release -o ./build
- name: Inno Setup
# You may pin to the exact commit or the version.
# uses: nadeemjazmawe/inno-setup-action-cli@31fe986b893b62ba38889603be4a74452a8f6362
uses: nadeemjazmawe/[email protected]
with:
# Path for ISS file
filepath: Metatron.iss
- name: Publish Plugin
uses: softprops/action-gh-release@v2
with:
files: |
./Output/MetatronSetup.exe
./build/Metatron.exe
./build/isxGamesPatcher.exe
./Data/*
./PatcherManifests/*
token: ${{ secrets.GITHUB_TOKEN }}