Skip to content

Commit

Permalink
ci: check build
Browse files Browse the repository at this point in the history
  • Loading branch information
emako committed Jul 31, 2024
1 parent 57b871c commit af9e34e
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/library.nuget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: MediaInfoDLL Library

on:
release:
types: [created]
push:
branches:
- v2

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 8.0.x

- name: Setup Windows SDK
uses: GuillaumeFalourd/[email protected]

- name: Prepare dummy files
run: cd build && setup_build.cmd

- name: Install dependencies of Uninst
run: cd build && dotnet restore MicaSetup\MicaSetup.Uninst.csproj

- name: Install dependencies of Setup
run: cd build && dotnet restore MicaSetup\MicaSetup.csproj

- name: Build Uninst
run: cd build && dotnet build MicaSetup\MicaSetup.Uninst.csproj --configuration Release --no-restore

- name: Build Setup
run: cd build && dotnet build MicaSetup\MicaSetup.csproj --configuration Release --no-restore

0 comments on commit af9e34e

Please sign in to comment.