diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 58fb98cac..8ace1bd33 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: - name: Build shell: pwsh run: | - msbuild /target:restore,build "/p:Configuration=$($env:CONFIGURATION)" /verbosity:minimal + msbuild /target:restore,build "/p:Configuration=$($env:CONFIGURATION)" /p:DebugType=None /verbosity:minimal - name: Upload build result uses: actions/upload-artifact@v3 @@ -171,7 +171,6 @@ jobs: $destPath = 'OpenTween.zip' $headCommit = '${{ github.event.pull_request.head.sha }}' .\tools\build-zip-archive.ps1 -BinDir $binDir -DestPath $destPath -HeadCommit $headCommit - Copy-Item ($binDir + 'OpenTween.pdb') -Destination '.\' - name: Upload build result uses: actions/upload-artifact@v3 @@ -179,4 +178,3 @@ jobs: name: package path: | ./OpenTween.zip - ./OpenTween.pdb diff --git a/appveyor.yml b/appveyor.yml index 167eb0c39..5986621db 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -36,8 +36,6 @@ for: artifacts: - name: OpenTween.zip path: OpenTween_dev-$(APPVEYOR_BUILD_NUMBER).zip - - name: OpenTween.pdb - path: OpenTween.pdb - # for release build matrix: only: @@ -46,8 +44,6 @@ for: artifacts: - name: OpenTween.zip path: $(APPVEYOR_REPO_TAG_NAME).zip - - name: OpenTween.pdb - path: OpenTween.pdb build: project: OpenTween.sln @@ -91,6 +87,5 @@ after_test: $headCommit = 'HEAD' } .\tools\build-zip-archive.ps1 -BinDir $binDir -DestPath $destPath -HeadCommit $headCommit - Copy-Item ($binDir + 'OpenTween.pdb') -Destination '.\' # vim: et fenc=utf-8 sts=2 sw=2 ts=2 diff --git a/msbuild.rsp b/msbuild.rsp index c4dbaecb1..7f712b3d1 100644 --- a/msbuild.rsp +++ b/msbuild.rsp @@ -1,3 +1,3 @@ # MSBuild response file for AppVeyor build -/warnaserror +/warnaserror /p:DebugType=None diff --git a/tools/build-zip-archive.ps1 b/tools/build-zip-archive.ps1 index 3fd8f5989..60e37dd18 100644 --- a/tools/build-zip-archive.ps1 +++ b/tools/build-zip-archive.ps1 @@ -102,5 +102,5 @@ Write-Host "Build success!" Value = $timestamp } Get-FileHash -Algorithm SHA256 $destPath - Get-FileHash -Algorithm SHA256 $pdbPath + # Get-FileHash -Algorithm SHA256 $pdbPath ) | Format-List