Skip to content

Commit 42fc287

Browse files
committed
fix paths
1 parent afad646 commit 42fc287

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build-project.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,8 @@ jobs:
345345
env:
346346
PACKAGE_NAME: libobs
347347
OS_TAG: windows64
348-
InstallPath: "build_x64/install"
348+
InstallDir: "install"
349+
BuildDir: "build_x64"
349350
RELEASE_BUCKET: "obsstudios3.streamlabs.com"
350351
ReleaseName: release
351352
defaults:
@@ -415,7 +416,10 @@ jobs:
415416
$version = "${{ github.ref }}".Replace("refs/tags/", "")
416417
echo "VERSION=$version" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
417418
- name: Package OBS lib 🗜️
418-
run: 7z a -r ${{env.TARGET_ARTIFACT}}.7z ${{env.InstallPath}}
419+
run: |
420+
cd ${{env.BuildDir}}
421+
7z a -r ../${{env.TARGET_ARTIFACT}}.7z ${{env.InstallDir}}
422+
cd ..
419423
env:
420424
TARGET_ARTIFACT: ${{ env.PACKAGE_NAME }}-${{ env.OS_TAG }}-${{ env.ReleaseName }}-${{ steps.get_version.outputs.VERSION }}
421425

0 commit comments

Comments
 (0)