Skip to content

Commit 7262c32

Browse files
authored
Update build-release.yml
1 parent f9bc5da commit 7262c32

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/build-release.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
Configuration: Release
1515
OutputDir: release
1616
Runtime: win-x86
17+
ProjectPath: Sharp4Explorer/SharpExt4Explorer.csproj
1718

1819
steps:
1920
- name: 🧾 Checkout code
@@ -23,17 +24,14 @@ jobs:
2324
uses: actions/setup-dotnet@v4
2425
with:
2526
dotnet-version: '6.0.x'
26-
27-
- name: Debug File Structure
28-
run: dir -Recurse
29-
shell: pwsh
30-
27+
3128
- name: 🔁 Restore dependencies
32-
run: dotnet restore SharpExt4Explorer/SharpExt4Explorer/SharpExt4Explorer.csproj
29+
run: dotnet restore $env:ProjectPath
30+
shell: pwsh
3331

3432
- name: 🛠️ Build and Publish (Self-Contained x86)
3533
run: |
36-
dotnet publish SharpExt4Explorer/SharpExt4Explorer/SharpExt4Explorer.csproj `
34+
dotnet publish $env:ProjectPath `
3735
--configuration $env:Configuration `
3836
--runtime $env:Runtime `
3937
--self-contained true `

0 commit comments

Comments
 (0)