Skip to content

fixes

fixes #71

Workflow file for this run

name: Build
on: push
jobs:
build:
runs-on: windows-latest
steps:
- name: Clone
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.x
cache: true
cache-dependency-path: |
src/StarBreaker/packages.lock.json
src/StarBreaker.Cli/packages.lock.json
- name: Restore
run: dotnet restore src --locked-mode
- name: Publish
run: dotnet publish src
- name: Upload GUI
uses: actions/upload-artifact@v4
with:
name: StarBreaker
path: |
src/StarBreaker/bin/Release/net9.0/win-x64/publish
!**/*.pdb
- name: Upload CLI
uses: actions/upload-artifact@v4
with:
name: StarBreaker.Cli
path: |
src/StarBreaker.Cli/bin/Release/net9.0/win-x64/publish
!**/*.pdb