-
-
Notifications
You must be signed in to change notification settings - Fork 38
48 lines (39 loc) · 1.12 KB
/
build-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
44
45
46
47
48
name: Build Brio - Dalamud Release
on:
push:
branches:
- main
tags-ignore: '*'
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Download Dalamud
run: |
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/latest.zip -OutFile latest.zip
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev"
- name: Restore Dependencies
run: dotnet restore Brio.sln
- name: Build Brio
run: dotnet build --no-restore Brio.sln /p:Configuration=Release /p:DebugType=None /p:DebugSymbols=false /p:Version=0.0.0.1
- name: Zip Release
uses: TheDoctor0/[email protected]
with:
filename: '../../../../Brio.zip'
directory: './Brio/bin/x64/Release/'
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
path: |
./Brio.zip