diff --git a/.github/workflows/build-project.yaml b/.github/workflows/build-project.yaml index e8dc6509f3dc0e..296bb48a4475bb 100644 --- a/.github/workflows/build-project.yaml +++ b/.github/workflows/build-project.yaml @@ -345,7 +345,8 @@ jobs: env: PACKAGE_NAME: libobs OS_TAG: windows64 - InstallPath: "build_x64/install" + InstallDir: "install" + BuildDir: "build_x64" RELEASE_BUCKET: "obsstudios3.streamlabs.com" ReleaseName: release defaults: @@ -415,7 +416,10 @@ jobs: $version = "${{ github.ref }}".Replace("refs/tags/", "") echo "VERSION=$version" | Out-File -FilePath $env:GITHUB_OUTPUT -Append - name: Package OBS lib 🗜️ - run: 7z a -r ${{env.TARGET_ARTIFACT}}.7z ${{env.InstallPath}} + run: | + cd ${{env.BuildDir}} + 7z a -r ../${{env.TARGET_ARTIFACT}}.7z ${{env.InstallDir}} + cd .. env: TARGET_ARTIFACT: ${{ env.PACKAGE_NAME }}-${{ env.OS_TAG }}-${{ env.ReleaseName }}-${{ steps.get_version.outputs.VERSION }}