Skip to content

Commit

Permalink
CI updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggog committed Dec 23, 2024
1 parent 194f56a commit 757276e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,9 @@ jobs:
dotnet restore Spriggit.sln
- name: Build
run: dotnet build Spriggit.sln -c Release --no-restore /p:GeneratePackageOnBuild=false
- name: Pack Preview
if: ${{ success() && (github.event.release.prerelease || github.event_name != 'release') }}
- name: Pack
run: |
dotnet pack Spriggit.sln -c Release -o out --include-symbols
- name: Pack Release
if: ${{ success() && !github.event.release.prerelease && github.event_name == 'release' }}
run: |
dotnet pack Spriggit.sln -c Release -o out --include-symbols
dotnet pack Spriggit.sln -c Release --no-build --no-restore -o out --include-symbols -p:SymbolPackageFormat=snupkg
- name: Pack GUI
if: ${{ success() && !github.event.release.prerelease && github.event_name == 'release' }}
run: dotnet publish "Spriggit.UI/Spriggit.UI.csproj" --configuration Release -p:PublishSingleFile=true
Expand Down
1 change: 1 addition & 0 deletions Spriggit.Engine/Spriggit.Engine.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Spriggit.Core\Spriggit.Core.csproj"/>
Expand Down

0 comments on commit 757276e

Please sign in to comment.