Maybe now? #10
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
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: .NET | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dotnet-version: [ '8.0.x' ] | |
steps: | |
- name: checkout all the submodules | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Setup dotnet ${{ matrix.dotnet-version }} | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Restore dependencies ${{ matrix.dotnet-version }} | |
run: dotnet restore | |
- name: Build ${{ matrix.dotnet-version }} | |
run: dotnet build /p:EnableWindowsTargeting=true --no-restore | |
- name: Test ${{ matrix.dotnet-version }} | |
run: dotnet test --no-build --verbosity normal | |
# Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact | |
- name: Publish ${{ matrix.dotnet-version }} | |
run: dotnet publish Echokraut Tools/Echokraut Tools.csproj -c Release -o release --nologo |