From 28dd35b040595435a8d15bf084e00b528ba2789e Mon Sep 17 00:00:00 2001 From: Willem Date: Tue, 28 Apr 2020 22:31:15 +0200 Subject: [PATCH] Add DLL's to artifact (#1263) Expands the Windows build steps to include DLL's in the artifact, making an out-of-box use of said artifacts easier. The new artifacts will allow running ccextractor (not the GUI yet) directly. --- .github/workflows/build_windows.yml | 32 +++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index aad5574e..26725843 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -31,8 +31,12 @@ jobs: working-directory: ./windows/Release - name: Prepare artifacts run: mkdir ./windows/artifacts - - name: Copy release artifact - run: cp ./windows/Release/ccextractorwin.exe ./windows/artifacts/; cp ./windows/Release/ccextractorgui.exe ./windows/artifacts/ + - name: Copy CCExtractor executable for artifact + run: cp ./windows/Release/ccextractorwin.exe ./windows/artifacts/ + - name: Copy GUI for artifact + run: cp ./windows/Release/ccextractorgui.exe ./windows/artifacts/; + - name: Copy DLL's needed to artifact + run: cp ./windows/Release/*.dll ./windows/artifacts/ - uses: actions/upload-artifact@v1 with: name: CCExtractor Windows Non-OCR Release build @@ -52,8 +56,12 @@ jobs: working-directory: ./windows/Debug - name: Prepare artifacts run: mkdir ./windows/artifacts - - name: Copy debug artifacts - run: cp ./windows/Debug/ccextractorwin.exe ./windows/artifacts/; cp ./windows/Debug/ccextractorwin.pdb ./windows/artifacts/; cp ./windows/Debug/ccextractorgui.exe ./windows/artifacts/ + - name: Copy CCExtractor executable and pdb for artifact + run: cp ./windows/Debug/ccextractorwin.exe ./windows/artifacts/; cp ./windows/Debug/ccextractorwin.pdb ./windows/artifacts/ + - name: Copy GUI for artifact + run: cp ./windows/Debug/ccextractorgui.exe ./windows/artifacts/; + - name: Copy DLL's needed to artifact + run: cp ./windows/Debug/*.dll ./windows/artifacts/ - uses: actions/upload-artifact@v1 with: name: CCExtractor Windows Non-OCR Debug build @@ -73,8 +81,12 @@ jobs: working-directory: ./windows/Release-Full - name: Prepare artifacts run: mkdir ./windows/artifacts - - name: Copy release artifact - run: cp ./windows/Release-Full/ccextractorwinfull.exe ./windows/artifacts/; cp ./windows/Release/ccextractorgui.exe ./windows/artifacts/ + - name: Copy CCExtractor executable for artifact + run: cp ./windows/Release-Full/ccextractorwinfull.exe ./windows/artifacts/ + - name: Copy GUI for artifact + run: cp ./windows/Release/ccextractorgui.exe ./windows/artifacts/; + - name: Copy DLL's needed to artifact + run: cp ./windows/Release-Full/*.dll ./windows/artifacts/ - uses: actions/upload-artifact@v1 with: name: CCExtractor Windows OCR and HardSubX Release build @@ -94,8 +106,12 @@ jobs: working-directory: ./windows/Debug-Full - name: Prepare artifacts run: mkdir ./windows/artifacts - - name: Copy debug artifact - run: cp ./windows/Debug-Full/ccextractorwinfull.exe ./windows/artifacts/; cp ./windows/Debug-Full/ccextractorwinfull.pdb ./windows/artifacts/; cp ./windows/Debug/ccextractorgui.exe ./windows/artifacts/ + - name: Copy CCExtractor executable and pdb for artifact + run: cp ./windows/Debug-Full/ccextractorwinfull.exe ./windows/artifacts/; cp ./windows/Debug-Full/ccextractorwinfull.pdb ./windows/artifacts/ + - name: Copy GUI for artifact + run: cp ./windows/Debug/ccextractorgui.exe ./windows/artifacts/; + - name: Copy DLL's needed to artifact + run: cp ./windows/Debug-Full/*.dll ./windows/artifacts/ - uses: actions/upload-artifact@v1 with: name: CCExtractor Windows OCR and HardSubX Debug build