Skip to content

Commit ef32c42

Browse files
author
Meng Li
committed
fix windows build
1 parent 94afd98 commit ef32c42

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1111

1212
jobs:
13-
build:
13+
build-linux:
1414
runs-on: ubuntu-20.04
1515
steps:
1616
- name: Checkout
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1111

1212
jobs:
13-
build:
13+
build-mac:
1414
runs-on: macos-latest
1515
steps:
1616
- name: Checkout
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1111

1212
jobs:
13-
build:
13+
build-windows:
1414
runs-on: windows-latest
1515
steps:
1616
- name: Checkout

scripts/build-windows.cmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ if "%BUILD_OBS_STUDIO%" == "true" (
4848
if not exist "%WINDOWS_DEPS_VERSION%.zip" (
4949
curl -kLO "https://obsproject.com/downloads/%WINDOWS_DEPS_VERSION%.zip" -f --retry 5 -C -
5050
)
51-
mkdir "%WINDOWS_DEPS_DIR%" 2>NUL
52-
tar -xf "%WINDOWS_DEPS_VERSION%.zip" -C "%WINDOWS_DEPS_DIR%"
51+
7z x "%WINDOWS_DEPS_VERSION%.zip" -o"%WINDOWS_DEPS_DIR%"
5352
)
5453
mkdir "%OBS_STUDIO_DIR%\build" 2>NUL
5554
cd "%OBS_STUDIO_DIR%\build"

0 commit comments

Comments
 (0)