Skip to content

Halo Wars 2 Support (#5) #10

Halo Wars 2 Support (#5)

Halo Wars 2 Support (#5) #10

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "10.0.x"
cache: true
cache-dependency-path: "**/packages.lock.json"
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore -c Release
- name: Test
run: dotnet test --no-build -c Release --verbosity normal
- name: Publish (win-x64)
run: dotnet publish PckTool -c Release -r win-x64 -o publish-win-x64
- name: Publish (win-arm64)
run: dotnet publish PckTool -c Release -r win-arm64 -o publish-win-arm64
- name: Upload artifact (win-x64)
uses: actions/upload-artifact@v4
with:
name: PckTool-win-x64
path: publish-win-x64/
- name: Upload artifact (win-arm64)
uses: actions/upload-artifact@v4
with:
name: PckTool-win-arm64
path: publish-win-arm64/