Skip to content

Fix conditional writes in dynamic mode #13

Fix conditional writes in dynamic mode

Fix conditional writes in dynamic mode #13

Workflow file for this run

name: Build with .NET
on: [push]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
os:
- win-x64
- osx-x64
- linux-x64
steps:
- uses: actions/[email protected]
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: '6.0.x'
- name: Build Kamek for ${{ matrix.os }}
shell: cmd
run: |
cd ${{ github.workspace }}
mkdir build
cd Kamek
dotnet restore
dotnet build -p:Configuration=Release
pushd %CD%
cd bin\Release\net6.0
mkdir publish
set out=%CD%\publish
set rid=${{ matrix.os }}
popd
dotnet publish -c Release -r %rid% --self-contained true -p:PublishSingleFile=true -o %out%\%rid%
pushd %CD%
cd %out%\%rid%
rm *.pdb
cp Kamek* ${{ github.workspace }}\build
- uses: actions/[email protected]
with:
name: ${{ matrix.os }}
path: ${{ github.workspace }}/build