Skip to content

Commit 1a57c7f

Browse files
committed
fix: workflow releative path
1 parent 423b859 commit 1a57c7f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
uses: gittools/actions/gitversion/execute@v1
3434

3535
- name: Restore dependencies
36-
run: dotnet restore OTAPI.UnifiedServerProcess/src/OTAPI.UnifiedServerProcess/OTAPI.UnifiedServerProcess.csproj
36+
run: dotnet restore src/OTAPI.UnifiedServerProcess/OTAPI.UnifiedServerProcess.csproj
3737

3838
- name: Build project with version
3939
run: >
40-
dotnet build OTAPI.UnifiedServerProcess/src/OTAPI.UnifiedServerProcess/OTAPI.UnifiedServerProcess.csproj
40+
dotnet build src/OTAPI.UnifiedServerProcess/OTAPI.UnifiedServerProcess.csproj
4141
--configuration Release
4242
/p:GitVersion_NuGetVersion=${{ steps.gitversion.outputs.nuGetVersionV2 }}
4343
/p:GitVersion_AssemblySemVer=${{ steps.gitversion.outputs.assemblySemVer }}
@@ -46,13 +46,13 @@ jobs:
4646
4747
- name: Run compiled EXE
4848
run: |
49-
cd OTAPI.UnifiedServerProcess/src/OTAPI.UnifiedServerProcess/bin/Release/net9.0
49+
cd src/OTAPI.UnifiedServerProcess/bin/Release/net9.0
5050
.\OTAPI.UnifiedServerProcess.exe
5151
5252
- name: Create output zip file
5353
run: |
5454
$version = "${{ steps.gitversion.outputs.nuGetVersionV2 }}"
55-
$outputDir = "OTAPI.UnifiedServerProcess/src/OTAPI.UnifiedServerProcess/bin/Release/net9.0/output"
55+
$outputDir = "src/OTAPI.UnifiedServerProcess/bin/Release/net9.0/output"
5656
$zipPath = "UnifiedServerProcess-v$version.zip"
5757
Compress-Archive -Path "$outputDir\*" -DestinationPath "$zipPath"
5858
echo "Created zip at $zipPath"

0 commit comments

Comments
 (0)