Stop separating PDB files from release

This commit is contained in:
manongjohn 2023-07-08 08:28:51 -04:00
parent 525fc22756
commit 0f26a4c293
2 changed files with 3 additions and 20 deletions

View file

@ -46,10 +46,6 @@ jobs:
with:
name: Tahoma2D-win
path: artifact
- uses: actions/upload-artifact@v1
with:
name: debug-symbols.zip
path: toonz\build\debug-symbols.zip
- name: Get Nightly Release Date
if: ${{ github.repository_owner == 'tahoma2d' && github.event_name == 'push' && github.ref == 'refs/heads/master' }}
run: |
@ -74,7 +70,7 @@ jobs:
with:
allowUpdates: true
artifactErrorsFailBuild: false
artifacts: toonz\build\Tahoma2D-win.zip,toonz\build\debug-symbols.zip
artifacts: toonz\build\Tahoma2D-win.zip
artifactContentType: "raw"
body: ${{ github.event.head_commit.message }}
name: Latest Nightly ${{ env.NIGHTLYDATE }}
@ -88,7 +84,7 @@ jobs:
with:
allowUpdates: true
artifactErrorsFailBuild: false
artifacts: toonz\build\Tahoma2D-win.zip,toonz\build\debug-symbols.zip
artifacts: toonz\build\Tahoma2D-win.zip
artifactContentType: "raw"
body: ${{ github.event.head_commit.message }}
name: ${{ env.NIGHTLYDATETIME }}

View file

@ -32,8 +32,7 @@ IF EXIST ..\..\thirdparty\libgphoto2\include (
xcopy /Y /E ..\..\thirdparty\libgphoto2\bin Tahoma2D
)
REM Remove PDB and ILK files
del Tahoma2D\*.pdb
REM Remove ILK files
del Tahoma2D\*.ilk
echo ">>> Copying stuff to Tahoma2D\tahomastuff"
@ -74,16 +73,4 @@ echo ">>> Creating Tahoma2D Windows package"
IF EXIST Tahoma2D-win.zip del Tahoma2D-win.zip
7z a Tahoma2D-win.zip Tahoma2D
IF EXIST ..\..\..\tahoma2d_symbols (
echo ">>> Saving debugging symbols"
mkdir ..\..\..\tahoma2d_symbols\%date:~10,4%-%date:~4,2%-%date:~7,2%
copy /y RelWithDebInfo\*.pdb ..\..\..\tahoma2d_symbols\%date:~10,4%-%date:~4,2%-%date:~7,2%
) else (
echo ">>> Creating debugging symbols package"
IF EXIST debug-symbols.zip del debug-symbols.zip
cd RelWithDebInfo
7z a ..\debug-symbols.zip *.pdb
cd ..
)
cd ../..