-
-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (40 loc) · 1.13 KB
/
desktop-release-check.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
name: Requirement check for merges with main.
on:
pull_request:
branches:
- release/desktop
jobs:
build-and-test:
runs-on: windows-latest
name: Release build and test
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json
- name: Build application
run: dotnet build dirs.proj -c Release
- name: Test application
run: dotnet test dirs.proj --no-build -c Release --verbosity normal
verify-squirrel-release:
runs-on: windows-latest
name: Verify squirrel release process
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json
- name: Run SquirrelBuildAndRelease
run: Tools\SquirrelBuildAndRelease.ps1
shell: powershell
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
path: releases/WoWsShipBuilderSetup.exe
retention-days: 5