Skip to content

Commit

Permalink
Use .Net 6
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkoshevoi committed Sep 15, 2021
1 parent 2a0ea62 commit 44b1749
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,23 @@ name: Build
on:
push:
branches: [ main ]
paths:
- 'DateOnlyTimeOnly.AspNet/**'
pull_request:
branches: [ main ]
paths:
- 'DateOnlyTimeOnly.AspNet/**'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
include-prerelease: true
- name: Restore dependencies
run: dotnet restore
- name: Build
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@ name: Publish
on:
push:
branches: [ main ]
paths:
- 'DateOnlyTimeOnly.AspNet/**'

jobs:
publish:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
include-prerelease: true
- name: Publish NuGet
uses: brandedoutcast/publish-nuget@v2
with:
Expand Down
4 changes: 0 additions & 4 deletions DateOnlyTimeOnly.AspNet.sln
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DateOnlyTimeOnly.AspNet", "DateOnlyTimeOnly.AspNet\DateOnlyTimeOnly.AspNet.csproj", "{1007D745-4675-4089-8814-BDFCDD6B7D87}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{123CC2B7-516F-49B8-8568-1F327C2FAA49}"
ProjectSection(SolutionItems) = preProject
.github\workflows\build.yml = .github\workflows\build.yml
.github\workflows\publish.yml = .github\workflows\publish.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{C034BB86-04DE-4B74-9F71-9A7A02719CE3}"
ProjectSection(SolutionItems) = preProject
Expand Down

0 comments on commit 44b1749

Please sign in to comment.