-
-
Notifications
You must be signed in to change notification settings - Fork 15
36 lines (28 loc) · 835 Bytes
/
build.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
name: Build
on:
[ push, pull_request, workflow_dispatch ]
env:
SOLUTION_NAME: AutoSweep
ZIP_PATH: bin\Release\autoSweep
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup MSBuild
uses: microsoft/[email protected]
- 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: Build
run: |
dotnet restore
dotnet build -c Release
- name: Create artifact
uses: actions/upload-artifact@v4
with:
name: ReleaseZip
path: ${{ env.ZIP_PATH }}
if-no-files-found: error