Skip to content

Commit

Permalink
try fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
win7user10 committed Nov 19, 2024
1 parent 019f2ca commit 44af3b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,20 @@ jobs:
with:
dotnet-version: '6.x.x'

- name: Setup .NET9 environment
- name: Setup .NET8 environment
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.x.x'


- name: Setup .NET8 environment
- name: Setup .NET9 environment
uses: actions/setup-dotnet@v1
with:
dotnet-version: '9.x.x'

- name: Build project
run: |
for p in $(find ./src -name *.csproj -not -name *MySql.csproj); do dotnet build $p --framework ${{env.PROJECT_TARGET}} --configuration Release; done
for p in $(find ./src -name *.csproj -not -name *MySql*); do dotnet build $p --framework ${{env.PROJECT_TARGET}} --configuration Release; done
- name: Generate a NuGet package
run: dotnet pack -p:TargetFrameworks=${{env.PROJECT_TARGET}} -p:PackageVersion=${{env.RELEASE_VERSION}} --no-build -c Release -o .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<LangVersion>Latest</LangVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Nullable>enable</Nullable>
<IncludeBuildOutput>false</IncludeBuildOutput>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 44af3b0

Please sign in to comment.