Skip to content

Commit d1c05cd

Browse files
committed
Add FastFile Converter GUI to CI & create bundle
Include the FastFileConverter GUI in the dev-build and release workflows: add a dotnet publish step for FastFileConverterGUI, move/rename the produced exe alongside other published tools, and upload it as an artifact. Also add a release pipeline step to create an All-Tools-$s.zip containing all five executables and include that bundle in the release artifact list for easier distribution.
1 parent 5e122df commit d1c05cd

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/dev-build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@ jobs:
5757
-p:IncludeNativeLibrariesForSelfExtract=true `
5858
-o ./publish-extractor
5959
60+
- name: Build and Publish FastFile Converter GUI
61+
run: |
62+
dotnet publish "FastFileConverterGUI/FastFileConverterGUI.csproj" `
63+
-c Release `
64+
-r win-x64 `
65+
--self-contained false `
66+
-p:PublishSingleFile=true `
67+
-p:IncludeNativeLibrariesForSelfExtract=true `
68+
-o ./publish-converter
69+
6070
- name: Build and Publish FastFile CLI
6171
run: |
6272
dotnet publish "FastFileCLI/FastFileCLI.csproj" `
@@ -74,6 +84,7 @@ jobs:
7484
Move-Item "./publish/Call of Duty FastFile Editor.exe" "./publish/Call of Duty FastFile Editor-$s.exe"
7585
Move-Item "./publish-compiler/FastFileCompilerGUI.exe" "./publish-compiler/FastFileCompilerGUI-$s.exe"
7686
Move-Item "./publish-extractor/FastFileExtractor.exe" "./publish-extractor/FastFileExtractor-$s.exe"
87+
Move-Item "./publish-converter/FastFileConverter.exe" "./publish-converter/FastFileConverter-$s.exe"
7788
Move-Item "./publish-cli/ffcli.exe" "./publish-cli/ffcli-$s.exe"
7889
7990
- name: Upload Main Editor
@@ -97,6 +108,13 @@ jobs:
97108
path: ./publish-extractor/FastFileExtractor-${{ steps.ver.outputs.suffix }}.exe
98109
retention-days: 14
99110

111+
- name: Upload FastFile Converter GUI
112+
uses: actions/upload-artifact@v4
113+
with:
114+
name: FastFileConverter-${{ steps.ver.outputs.suffix }}
115+
path: ./publish-converter/FastFileConverter-${{ steps.ver.outputs.suffix }}.exe
116+
retention-days: 14
117+
100118
- name: Upload FastFile CLI
101119
uses: actions/upload-artifact@v4
102120
with:
@@ -112,5 +130,6 @@ jobs:
112130
./publish/Call of Duty FastFile Editor-${{ steps.ver.outputs.suffix }}.exe
113131
./publish-compiler/FastFileCompilerGUI-${{ steps.ver.outputs.suffix }}.exe
114132
./publish-extractor/FastFileExtractor-${{ steps.ver.outputs.suffix }}.exe
133+
./publish-converter/FastFileConverter-${{ steps.ver.outputs.suffix }}.exe
115134
./publish-cli/ffcli-${{ steps.ver.outputs.suffix }}.exe
116135
retention-days: 14

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,24 @@ jobs:
103103
Move-Item "./publish-converter/FastFileConverter.exe" "./publish-converter/FastFileConverter-$s.exe"
104104
Move-Item "./publish-cli/ffcli.exe" "./publish-cli/ffcli-$s.exe"
105105
106+
- name: Create All-Tools bundle zip
107+
shell: pwsh
108+
run: |
109+
$s = "${{ steps.get_version.outputs.suffix }}"
110+
# Gather all 5 exes into one flat folder, then zip it. Compress-Archive flattens
111+
# the input file list automatically (no parent-folder paths preserved), so the
112+
# resulting zip is a single level deep — users get 5 exes side by side, not
113+
# nested under publish/ publish-compiler/ etc.
114+
$bundle = "./All-Tools-$s.zip"
115+
Compress-Archive -Path `
116+
"./publish/Call of Duty FastFile Editor-$s.exe", `
117+
"./publish-compiler/FastFileCompilerGUI-$s.exe", `
118+
"./publish-extractor/FastFileExtractor-$s.exe", `
119+
"./publish-converter/FastFileConverter-$s.exe", `
120+
"./publish-cli/ffcli-$s.exe" `
121+
-DestinationPath $bundle
122+
Write-Host "Bundle created: $bundle ($((Get-Item $bundle).Length) bytes)"
123+
106124
- name: List published files
107125
run: |
108126
Write-Host "Main Editor:"
@@ -130,5 +148,6 @@ jobs:
130148
./publish-extractor/FastFileExtractor-${{ steps.get_version.outputs.suffix }}.exe
131149
./publish-converter/FastFileConverter-${{ steps.get_version.outputs.suffix }}.exe
132150
./publish-cli/ffcli-${{ steps.get_version.outputs.suffix }}.exe
151+
./All-Tools-${{ steps.get_version.outputs.suffix }}.zip
133152
env:
134153
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)