mirror of
https://github.com/Cysharp/UniTask.git
synced 2026-05-26 10:00:23 +00:00
ci: fix symbol generation options 61d8d3
This commit is contained in:
2
.github/workflows/build-debug.yaml
vendored
2
.github/workflows/build-debug.yaml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
|
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
|
||||||
- run: dotnet build -c Release
|
- run: dotnet build -c Release
|
||||||
- run: dotnet test -c Release
|
- run: dotnet test -c Release
|
||||||
- run: dotnet pack -c Release --no-build -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -o $GITHUB_WORKSPACE/artifacts
|
- run: dotnet pack -c Release --no-build -p:IncludeSymbols=true -o $GITHUB_WORKSPACE/artifacts
|
||||||
|
|
||||||
build-unity:
|
build-unity:
|
||||||
if: ${{ ((github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:')) && github.triggering_actor != 'dependabot[bot]' }}
|
if: ${{ ((github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:')) && github.triggering_actor != 'dependabot[bot]' }}
|
||||||
|
|||||||
8
.github/workflows/build-release.yaml
vendored
8
.github/workflows/build-release.yaml
vendored
@@ -36,10 +36,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: ${{ needs.update-packagejson.outputs.sha }}
|
ref: ${{ needs.update-packagejson.outputs.sha }}
|
||||||
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
|
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
|
||||||
# build and pack
|
# build and pack nuget (.nupkg and .symbols.nupkg will be created)
|
||||||
- run: dotnet build -c Release -p:Version=${{ inputs.tag }}
|
- run: dotnet build -c Release -p:Version=${{ inputs.tag }}
|
||||||
- run: dotnet test -c Release --no-build
|
- run: dotnet test -c Release --no-build
|
||||||
- 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
|
- run: dotnet pack ./src/UniTask.NetCore/UniTask.NetCore.csproj -c Release --no-build -p:Version=${{ inputs.tag }} -p:IncludeSymbols=true -o ./publish
|
||||||
# Store artifacts.
|
# Store artifacts.
|
||||||
- uses: Cysharp/Actions/.github/actions/upload-artifact@main
|
- uses: Cysharp/Actions/.github/actions/upload-artifact@main
|
||||||
with:
|
with:
|
||||||
@@ -56,10 +56,6 @@ jobs:
|
|||||||
if: ${{ !inputs.dry-run }}
|
if: ${{ !inputs.dry-run }}
|
||||||
env:
|
env:
|
||||||
NUGET_KEY: ${{ steps.login.outputs.NUGET_API_KEY }}
|
NUGET_KEY: ${{ steps.login.outputs.NUGET_API_KEY }}
|
||||||
- run: dotnet nuget push "./publish/*.snupkg" --skip-duplicate -s https://api.nuget.org/v3/index.json -k "${NUGET_KEY}"
|
|
||||||
if: ${{ !inputs.dry-run }}
|
|
||||||
env:
|
|
||||||
NUGET_KEY: ${{ steps.login.outputs.NUGET_API_KEY }}
|
|
||||||
|
|
||||||
build-unity:
|
build-unity:
|
||||||
needs: [update-packagejson]
|
needs: [update-packagejson]
|
||||||
|
|||||||
Reference in New Issue
Block a user