Skip to content

Commit

Permalink
change FFMPEG_ROOT to C:\tmp for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rainyl committed Sep 27, 2024
1 parent 34e7d51 commit 17be80e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: ["main"]

env:
FFMPEG_ROOT: ${{ github.workspace }}/ffmpeg
FFMPEG_ROOT: C:\ffmpeg

jobs:
windows:
Expand Down Expand Up @@ -47,7 +47,6 @@ jobs:
- name: setup ffmpeg
run: |
ls ffmpeg_tmp
echo "FFMPEG_ROOT=${{ github.workspace }}/ffmpeg" >> $env:GITHUB_ENV
mkdir -Force $env:FFMPEG_ROOT/cmake
Move-Item -Force ffmpeg_tmp\*\* $env:FFMPEG_ROOT
cp -Recurse -Force ${{ github.workspace }}/cmake/ffmpeg-config.cmake $env:FFMPEG_ROOT/cmake/
Expand Down Expand Up @@ -128,7 +127,6 @@ jobs:
- name: setup ffmpeg
run: |
ls ffmpeg_tmp
echo "FFMPEG_ROOT=${{ github.workspace }}/ffmpeg" >> $env:GITHUB_ENV
mkdir -Force $env:FFMPEG_ROOT/cmake
Move-Item -Force ffmpeg_tmp\*\* $env:FFMPEG_ROOT
cp -Recurse -Force ${{ github.workspace }}/cmake/ffmpeg-config.cmake $env:FFMPEG_ROOT/cmake/
Expand Down

0 comments on commit 17be80e

Please sign in to comment.