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.
This commit is contained in:
Willem 2020-04-28 22:31:15 +02:00 committed by GitHub
parent e82a492c94
commit 28dd35b040
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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