Skip to content

Commit a448d9c

Browse files
committed
ci: add dotnet pack and use Release
1 parent d1f009d commit a448d9c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
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 --no-build
20+
- run: dotnet build -c Release
21+
- run: dotnet test -c Release --no-build
22+
- run: dotnet pack -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -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]' }}

0 commit comments

Comments
 (0)