Skip to content

Commit 2a6578d

Browse files
committed
WIP: Try to simplify the powershell file piping
1 parent 5bfa6bf commit 2a6578d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -738,8 +738,8 @@ jobs:
738738
Expand-Archive llvm-mingw-*.zip -DestinationPath .
739739
del llvm-mingw-*.zip
740740
mv llvm-mingw-* c:\llvm-mingw
741-
echo "c:\llvm-mingw\busybox\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
742-
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
741+
echo "c:\llvm-mingw\busybox\bin" >> $Env:GITHUB_PATH
742+
echo "c:\llvm-mingw\bin" >> $Env:GITHUB_PATH
743743
- uses: actions/checkout@v4
744744
- name: Checkout ffmpeg
745745
uses: actions/checkout@v4
@@ -777,7 +777,7 @@ jobs:
777777
cd ffmpeg-build
778778
mingw32-make fate-rsync
779779
cd ..
780-
echo "hash=$(sh -c "find fate-samples -type f | sort | sha256sum | cut -d' ' -f1")" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
780+
echo "hash=$(sh -c "find fate-samples -type f | sort | sha256sum | cut -d' ' -f1")" >> $Env:GITHUB_OUTPUT
781781
- name: Cache Fate-Suite
782782
uses: actions/cache/save@v4
783783
if: ${{ format('fate-samples-{0}', steps.rsync.outputs.hash) != steps.cache.outputs.cache-matched-key }}

0 commit comments

Comments
 (0)