Skip to content

Commit

Permalink
revert to net 7
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Nov 14, 2023
1 parent 26fbeeb commit f1f816f
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-onewarestudio-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
dotnet-version: 7.0.x
- name: Workload Restore
run: dotnet workload restore
- name: Publish
run: dotnet build ./demo/OneWare.Demo.Browser/OneWare.Demo.Browser.csproj -c Release -o ./out
run: dotnet publish ./demo/OneWare.Demo.Browser/OneWare.Demo.Browser.csproj -c Release -o ./out
- name: 📂 Sync files
uses: SamKirkland/[email protected]
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
dotnet-version: 7.0.x

# Create the NuGet package in the folder from the environment variable NuGetDirectory
- run: dotnet pack ./src/OneWare.Shared/OneWare.Shared.csproj --configuration Release --output ${{ env.NuGetDirectory }}
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
dotnet-version: 7.0.x

# Download the NuGet package created in the previous job
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
dotnet-version: 7.0.x

# Publish all NuGet packages to NuGet.org
# Use --skip-duplicate to prevent errors if a package with the same version already exists.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
dotnet-version: 7.0.x
- name: Workload Restore
run: dotnet workload restore
- name: Restore dependencies
Expand Down
2 changes: 1 addition & 1 deletion build/props/OneWare.Module.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion demo/OneWare.Demo.Browser/OneWare.Demo.Browser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Import Project="..\..\build\props\Base.props" />

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<RuntimeIdentifier>browser-wasm</RuntimeIdentifier>
<WasmMainJSPath>AppBundle\main.js</WasmMainJSPath>
<OutputType>Exe</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion demo/OneWare.Demo.Desktop/OneWare.Demo.Desktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ApplicationManifest>app.manifest</ApplicationManifest>
<OutputType Condition="'$(Configuration.toUpper())' != 'DEBUG'">WinExe</OutputType>
<OutputType Condition="'$(Configuration.toUpper())' == 'DEBUG'">Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<ApplicationIcon>..\OneWare.Demo\Assets\icon.ico</ApplicationIcon>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Import Project="..\..\build\props\XUnit.props" />

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<OutputType>Library</OutputType>
<IsPackable>False</IsPackable>
<IsTestProject>True</IsTestProject>
Expand Down

0 comments on commit f1f816f

Please sign in to comment.