From b317c6281f29755548c9010901c8211ea51506d4 Mon Sep 17 00:00:00 2001 From: Phantop Date: Sat, 9 Mar 2024 12:18:23 -0500 Subject: [PATCH] add workflow build --- .github/workflows/dotnet.yml | 21 +++++++++++ Content/Fonts/editor font.spritefont | 2 +- Content/Fonts/editor mono font.spritefont | 2 +- .../Fonts/editor small mono font.spritefont | 2 +- ProjectZ.csproj | 2 ++ README.md | 5 ++- bin/Debug/net6.0-windows/settings | 35 ------------------- 7 files changed, 28 insertions(+), 41 deletions(-) create mode 100644 .github/workflows/dotnet.yml delete mode 100644 bin/Debug/net6.0-windows/settings diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..ac5c43a --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,21 @@ +name: build +on: + workflow_dispatch: + push: + branches: [main] + +jobs: + deploy: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-dotnet@v3 + with: + dotnet-version: '6.0.x' # SDK Version to use. + - name: Create the package + run: dotnet publish -c Release + - name: Upload build artifact + uses: actions/upload-artifact@v4 + with: + name: LADXHD + path: bin/Release/net6.0-windows/win-x64/publish/ diff --git a/Content/Fonts/editor font.spritefont b/Content/Fonts/editor font.spritefont index 0579825..45dd13f 100644 --- a/Content/Fonts/editor font.spritefont +++ b/Content/Fonts/editor font.spritefont @@ -11,7 +11,7 @@ with. - DejaVu Sans + Segoe UI - Ubuntu Mono + Courier New - Ubuntu Mono + Courier New