Skip to content

Add HondaAlgo1, 1895 definitions #33

Add HondaAlgo1, 1895 definitions

Add HondaAlgo1, 1895 definitions #33

name: .NET Core Desktop
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
configuration: [Release]
runs-on: windows-latest
env:
Solution_Name: UnlockECU.sln
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore UnlockECU dependencies
run: msbuild UnlockECU/UnlockECU.sln /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
# Create the app package by building and packaging the Windows Application Packaging project
- name: Build VisualUnlockECU
run: msbuild UnlockECU/VisualUnlockECU/VisualUnlockECU.csproj /property:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
# Copy definitions (db.json) into build output
- name: Insert db.json into build
run: xcopy UnlockECU\db.json UnlockECU\VisualUnlockECU\bin\Release\net5.0-windows\
# Upload the completed build
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: VisualUnlockECU (Windows, ZIP)
path: UnlockECU/VisualUnlockECU/bin/Release/net5.0-windows