Skip to content

Make it good looking #12

Make it good looking

Make it good looking #12

Workflow file for this run

# 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
name: Build Application
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
- name: Upload Build Artifact
uses: actions/upload-artifact@v2
with:
name: Application_Artifact
path: "/home/runner/work/Echokraut Tools/Echokraut Tools/release/"
- name: Commit release to GitHub Pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: release
FOLDER: release