Skip to content

Commit 860e333

Browse files
committed
ci: add dotnet pack and use Release
1 parent 61d26c6 commit 860e333

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build-debug.yaml

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

2425
build-unity:
2526
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)