Skip to content

Commit

Permalink
Update to later versions of .net
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnwildermuth committed Jan 28, 2024
1 parent 1acbfcf commit c07ddef
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 15 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/theBuild.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
name: BuildAndTest
name: Build and Test

on: [push]
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Setup .NET Core SDK
uses: actions/[email protected]
with:
dotnet-version: 5.0.100
- uses: actions/checkout@v1
- name: Build with dotnet
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- name: Restore dependencies
working-directory: ./src
run: dotnet build --configuration Release
- name: Run Tests
run: dotnet restore
- name: Build
working-directory: ./src
run: dotnet test
run: dotnet build --no-restore
- name: Test
working-directory: ./src
run: dotnet test --no-build --verbosity normal
9 changes: 5 additions & 4 deletions src/WilderMinds.MetaWeblog/WilderMinds.MetaWeblog.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute>
<Version>5.1.1</Version>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<AssemblyVersion>5.1.1.0</AssemblyVersion>
<FileVersion>5.1.1.0</FileVersion>
<Version>5.1.2</Version>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<AssemblyVersion>5.1.2.0</AssemblyVersion>
<FileVersion>5.1.2.0</FileVersion>
<IsPackable>true</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit c07ddef

Please sign in to comment.