generated from goatcorp/SamplePlugin
-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (38 loc) · 953 Bytes
/
ReleaseCheck.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
name: Release Build
on:
workflow_dispatch:
inputs: {}
push:
branches:
- main
paths-ignore:
- '.github/**'
- '*.yml'
- '*.json'
- 'README.md'
pull_request:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x.x'
- name: Restore dependencies
run: |
dotnet restore
- 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 build --no-restore --configuration Release
- name: Tests
run: |
dotnet test