Skip to content

Update 2.6 (Desktop) #46

Update 2.6 (Desktop)

Update 2.6 (Desktop) #46

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@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
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-velopack-release:
runs-on: windows-latest
name: Verify Velopack release process
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Create Velopack Release
run: |
dotnet tool install -g vpk
vpk download github -o releases --repoUrl https://github.com/WoWs-Builder-Team/WoWs-ShipBuilder
installer\BuildVelopackRelease.ps1 -signingCert wowssb.pfx -signingPassword '${{ secrets.WOWSSB_CERT_KEY }}'
shell: pwsh