Skip to content

Commit 6d9d82a

Browse files
fx
1 parent 2182057 commit 6d9d82a

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Release WiFiFlasher
1+
name: Build and Release WiFiProgram
22

33
on:
44
push:
@@ -25,14 +25,14 @@ jobs:
2525

2626
- name: Restore NuGet packages
2727
run: |
28-
#nuget restore WiFiFlasher/WiFiFlasher.csproj -SolutionDirectory .
28+
#nuget restore WiFiProgram/WiFiProgram.csproj -SolutionDirectory .
2929
dotnet tool install -g dotnet-ilrepack
3030
3131
- name: Create Output Directory
3232
run: mkdir -p BuildOutput/Release
3333

3434
- name: Build the project
35-
run: msbuild WiFiFlasher/WiFiFlasher.csproj /p:Configuration=Release /p:OutDir=BuildOutput\Release\
35+
run: msbuild WiFiProgram/WiFiProgram.csproj /p:Configuration=Release /p:OutDir=BuildOutput\Release\
3636

3737
- name: Debug Build Output
3838
run: |
@@ -42,30 +42,30 @@ jobs:
4242
4343
- name: Pack the project
4444
run: >
45-
ilrepack /ver:1.0.${{ github.run_number }} /out:WiFiFlasher.exe
45+
ilrepack /ver:1.0.${{ github.run_number }} /out:WiFiProgram.exe
4646
/target:winexe /parallel /wildcards
47-
WiFiFlasher/BuildOutput/Release/WiFiFlasher.exe
48-
WiFiFlasher/BuildOutput/Release/*.dll
47+
WiFiProgram/BuildOutput/Release/WiFiProgram.exe
48+
WiFiProgram/BuildOutput/Release/*.dll
4949
5050
- name: Replace the project with packed one
5151
run: |
52-
del WiFiFlasher\BuildOutput\Release\WiFiFlasher.exe
53-
move WiFiFlasher.exe WiFiFlasher\BuildOutput\Release\
52+
del WiFiProgram\BuildOutput\Release\WiFiProgram.exe
53+
move WiFiProgram.exe WiFiProgram\BuildOutput\Release\
5454
5555
- name: Upload Build Artifacts
5656
uses: actions/upload-artifact@v4
5757
with:
58-
name: WiFiFlasher
58+
name: WiFiProgram
5959
path: |
60-
WiFiFlasher/BuildOutput/Release/*.exe
61-
WiFiFlasher/BuildOutput/Release/easyflash/*.dll
62-
WiFiFlasher/BuildOutput/Release/easyflash/*.so
60+
WiFiProgram/BuildOutput/Release/*.exe
61+
WiFiProgram/BuildOutput/Release/easyflash/*.dll
62+
WiFiProgram/BuildOutput/Release/easyflash/*.so
6363
if-no-files-found: warn
6464

6565
- name: Debug Build Output Directory
6666
run: |
6767
echo "Contents of BuildOutput/Release:"
68-
dir WiFiFlasher/BuildOutput/Release
68+
dir WiFiProgram/BuildOutput/Release
6969
7070
release:
7171
needs: build
@@ -79,7 +79,7 @@ jobs:
7979
- name: Download Build Artifacts
8080
uses: actions/download-artifact@v5
8181
with:
82-
name: WiFiFlasher
82+
name: WiFiProgram
8383

8484
- name: Recreate Directory Structure
8585
run: |
@@ -103,16 +103,16 @@ jobs:
103103
- name: Create ZIP File
104104
run: |
105105
mkdir release
106-
powershell Compress-Archive -Path "BuildOutput/Release/*" -DestinationPath "release/WiFiFlasher-v${{ github.run_number }}.zip"
106+
powershell Compress-Archive -Path "BuildOutput/Release/*" -DestinationPath "release/WiFiProgram-v${{ github.run_number }}.zip"
107107
108108
- name: Create GitHub Release
109109
uses: softprops/action-gh-release@v2
110110
with:
111111
tag_name: v${{ github.run_number }}
112-
name: WiFiFlasher v${{ github.run_number }}
112+
name: WiFiProgram v${{ github.run_number }}
113113
body: |
114-
Automated release for WiFiFlasher.
114+
Automated release for WiFiProgram.
115115
Includes the latest .exe, .dll files, and loaders directory.
116116
draft: false
117117
prerelease: false
118-
files: release/WiFiFlasher-v${{ github.run_number }}.zip
118+
files: release/WiFiProgram-v${{ github.run_number }}.zip
File renamed without changes.

0 commit comments

Comments
 (0)