Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 057491d

Browse files
committed
Update workflow
1 parent dc6b56f commit 057491d

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

.github/workflows/compile.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Compile Solution
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: windows-latest
9+
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
14+
# Install the .NET Core workload
15+
- name: Install .NET Core
16+
uses: actions/setup-dotnet@v1
17+
with:
18+
dotnet-version: 3.1.100
19+
20+
# Nuget
21+
- uses: nuget/setup-nuget@v1
22+
- run: nuget restore Spedit.sln
23+
24+
# Setup MSBuild
25+
- name: Setup MSBuild.exe
26+
uses: microsoft/[email protected]
27+
28+
29+
# Build Project
30+
- name: Build Project
31+
run: msbuild /p:Configuration=Release

.github/workflows/dotnetcore.yml renamed to .github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: .NET Core
1+
name: Publish Release
22

33
on:
44
push:
@@ -23,6 +23,12 @@ jobs:
2323
with:
2424
dotnet-version: 3.1.100
2525

26+
# Nuget
27+
- uses: nuget/setup-nuget@v1
28+
with:
29+
nuget-version: '5.x'
30+
- run: nuget restore Spedit.sln
31+
2632
# Setup MSBuild
2733
- name: Setup MSBuild.exe
2834
uses: microsoft/[email protected]

0 commit comments

Comments
 (0)