Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
grebtsew committed Aug 6, 2023
1 parent 982b3b4 commit d0dfcc1
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Build Action

on:
workflow_dispatch:
Expand All @@ -9,19 +9,14 @@ on:

jobs:
build:
runs-on: windows-latest
runs-on: ubuntu-latest
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 4.7.2
cache: true
- name: Dependencies
run: dotnet restore --locked-mode ./PatternsMaker/PatternsMaker.sln

steps:
- uses: actions/checkout@v2

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1

- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.5

- name: Restore Packages
run: nuget restore ./PatternsMaker/PatternsMaker.sln

- name: Build solution
run: msbuild ./PatternsMaker/PatternsMaker.sln -t:rebuild -property:Configuration=Release
- name: Execute dotnet
run: dotnet build ./PatternsMaker/PatternsMaker.sln

0 comments on commit d0dfcc1

Please sign in to comment.