Skip to content

Commit 4cfac5c

Browse files
committed
ci: fix symbol generation options 61d8d3
1 parent 37251f0 commit 4cfac5c

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/build-debug.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
2020
- run: dotnet build -c Release
2121
- run: dotnet test -c Release
22-
- run: dotnet pack -c Release --no-build -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -o $GITHUB_WORKSPACE/artifacts
22+
- run: dotnet pack -c Release --no-build -p:IncludeSymbols=true -o $GITHUB_WORKSPACE/artifacts
2323

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

.github/workflows/build-release.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
with:
3737
ref: ${{ needs.update-packagejson.outputs.sha }}
3838
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
39-
# build and pack
39+
# build and pack nuget (.nupkg and .symbols.nupkg will be created)
4040
- run: dotnet build -c Release -p:Version=${{ inputs.tag }}
4141
- run: dotnet test -c Release --no-build
42-
- run: dotnet pack ./src/UniTask.NetCore/UniTask.NetCore.csproj -c Release --no-build -p:Version=${{ inputs.tag }} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -o ./publish
42+
- run: dotnet pack ./src/UniTask.NetCore/UniTask.NetCore.csproj -c Release --no-build -p:Version=${{ inputs.tag }} -p:IncludeSymbols=true -o ./publish
4343
# Store artifacts.
4444
- uses: Cysharp/Actions/.github/actions/upload-artifact@main
4545
with:
@@ -56,10 +56,6 @@ jobs:
5656
if: ${{ !inputs.dry-run }}
5757
env:
5858
NUGET_KEY: ${{ steps.login.outputs.NUGET_API_KEY }}
59-
- run: dotnet nuget push "./publish/*.snupkg" --skip-duplicate -s https://api.nuget.org/v3/index.json -k "${NUGET_KEY}"
60-
if: ${{ !inputs.dry-run }}
61-
env:
62-
NUGET_KEY: ${{ steps.login.outputs.NUGET_API_KEY }}
6359

6460
build-unity:
6561
needs: [update-packagejson]

0 commit comments

Comments
 (0)