Skip to content

Commit 40e020f

Browse files
committed
ci: add dotnet pack and use Release
1 parent e63dba1 commit 40e020f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/build-debug.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ jobs:
1717
steps:
1818
- uses: Cysharp/Actions/.github/actions/checkout@main
1919
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
20-
- run: dotnet build -c Debug
21-
- run: dotnet test -c Debug
20+
- run: dotnet build -c Release
21+
- run: dotnet test -c Release
22+
- run: dotnet pack -c Release --no-build -p:IncludeSymbols=true -o $GITHUB_WORKSPACE/artifacts
2223

2324
build-unity:
2425
if: ${{ ((github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:')) && github.triggering_actor != 'dependabot[bot]' }}

Directory.Build.props

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<LangVersion>13</LangVersion>
5-
64
<!-- NuGet Package Information -->
75
<PackageVersion>$(Version)</PackageVersion>
86
<Company>Cysharp</Company>

0 commit comments

Comments
 (0)