.net8 upgrade #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET | |
on: | |
push: | |
branches: [ 'master', 'development' ] | |
defaults: | |
run: | |
working-directory: Spixi-Bot | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Spixi-Bot | |
uses: actions/checkout@v2 | |
with: | |
path: Spixi-Bot | |
- name: Checkout Ixian-Core | |
uses: actions/checkout@v2 | |
with: | |
repository: ProjectIxian/Ixian-Core | |
path: Ixian-Core | |
ref: ${{ github.event.push.ref }} | |
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild | |
- name: Setup MSBuild.exe | |
uses: microsoft/setup-msbuild@2008f912f56e61277eefaac6d1888b750582aa16 | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' | |
- name: Restore dependencies | |
run: nuget restore SpixiBot.sln | |
- name: Building Spixi-Bot | |
run: msbuild SpixiBot.sln | |
#- name: Running Unit Tests | |
# run: dotnet test UnitTests\bin\Debug\unittests.dll --verbosity normal |