-
Notifications
You must be signed in to change notification settings - Fork 9
40 lines (32 loc) · 955 Bytes
/
build-plugin.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
name: Build Plugin
on:
push:
branches:
- 'main'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup .NET
uses: actions/setup-dotnet@v3.0.3
with:
dotnet-version: '7.x.x'
- name: Restore
run: dotnet restore
- name: Download Dalamud
run: |
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/stg/latest.zip -OutFile latest.zip
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev\"
- name: Build
run: |
dotnet build --no-restore --configuration Release --nologo
- run: |
rm -R ./NecroLens/bin/x64/Release/NecroLens
- name: Upload Build Artifact
uses: actions/upload-artifact@v2.2.1
with:
name: latest
path: ./NecroLens/bin/x64/Release/