-
Notifications
You must be signed in to change notification settings - Fork 43
36 lines (34 loc) · 943 Bytes
/
pr-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: IINACT build
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
DALAMUD_HOME: /tmp/dalamud
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Download Dalamud
shell: pwsh
run: |
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/stg/latest.zip -OutFile latest.zip
Expand-Archive -Force latest.zip /tmp/dalamud
- name: Build
run: dotnet build -c release
- name: Prepare Build Artifact
shell: pwsh
run: |
Copy-Item "IINACT/bin/Release/win-x64/IINACT/latest.zip" -Destination "IINACT.zip"
Expand-Archive -Force IINACT.zip Artifact
- name: Upload IINACT
uses: actions/upload-artifact@v3
with:
name: IINACT
path: Artifact/*