4747 echo PYTHON_VERSION_MINGW=$(git ls-remote https://github.com/msys2-contrib/cpython-mingw.git | grep 'refs/heads/mingw-v3.11.6$' | awk '{print $1}') >> $GITHUB_OUTPUT
4848 cat $GITHUB_OUTPUT
4949 cat $GITHUB_OUTPUT >> parameters.txt
50- - uses : actions/upload-artifact@v3
50+ - uses : actions/upload-artifact@v4
5151 with :
5252 name : parameters
5353 path : |
6060 needs : [prepare]
6161 runs-on : ubuntu-20.04
6262 steps :
63- - uses : actions/checkout@v3
63+ - uses : actions/checkout@v4
6464 - name : Build
6565 env :
6666 LLVM_VERSION : ${{needs.prepare.outputs.LLVM_VERSION}}
7878 NAME=llvm-mingw-$TAG-ucrt-$DISTRO
7979 mv llvm-mingw $NAME
8080 tar -Jcf ../$NAME.tar.xz $NAME
81- - uses : actions/upload-artifact@v3
81+ - uses : actions/upload-artifact@v4
8282 with :
8383 name : linux-ucrt-x86_64-toolchain
8484 path : |
9292 needs : [linux, prepare]
9393 runs-on : ubuntu-20.04
9494 steps :
95- - uses : actions/checkout@v3
95+ - uses : actions/checkout@v4
9696 - name : Build
9797 env :
9898 LLVM_VERSION : ${{needs.prepare.outputs.LLVM_VERSION}}
@@ -101,7 +101,7 @@ jobs:
101101 sudo apt-get update && sudo apt-get install ninja-build g++-aarch64-linux-gnu
102102 ./build-all.sh $(pwd)/install/llvm-mingw --disable-clang-tools-extra --no-runtimes --host=aarch64-linux-gnu
103103 .github/workflows/store-version.sh install/llvm-mingw/versions.txt
104- - uses : actions/download-artifact@v3
104+ - uses : actions/download-artifact@v4
105105 with :
106106 name : linux-ucrt-x86_64-toolchain
107107 - name : Unpack native toolchain
@@ -125,7 +125,7 @@ jobs:
125125 NAME=llvm-mingw-$TAG-ucrt-$DISTRO
126126 mv llvm-mingw $NAME
127127 tar -Jcf ../$NAME.tar.xz $NAME
128- - uses : actions/upload-artifact@v3
128+ - uses : actions/upload-artifact@v4
129129 with :
130130 name : linux-ucrt-aarch64-toolchain
131131 path : |
@@ -144,7 +144,7 @@ jobs:
144144 needs : [prepare]
145145 runs-on : ubuntu-latest
146146 steps :
147- - uses : actions/checkout@v3
147+ - uses : actions/checkout@v4
148148 - name : Build
149149 env :
150150 LLVM_VERSION : ${{needs.prepare.outputs.LLVM_VERSION}}
@@ -158,7 +158,7 @@ jobs:
158158 .github/workflows/store-version.sh install/llvm-mingw/versions.txt
159159 cd install
160160 tar -Jcf ../llvm-mingw-linux.tar.xz llvm-mingw
161- - uses : actions/upload-artifact@v3
161+ - uses : actions/upload-artifact@v4
162162 with :
163163 name : linux-asserts-toolchain
164164 path : |
@@ -171,7 +171,7 @@ jobs:
171171 needs : [prepare]
172172 runs-on : macos-latest
173173 steps :
174- - uses : actions/checkout@v3
174+ - uses : actions/checkout@v4
175175 - name : Build
176176 env :
177177 LLVM_VERSION : ${{needs.prepare.outputs.LLVM_VERSION}}
@@ -190,7 +190,7 @@ jobs:
190190 NAME=llvm-mingw-$TAG-ucrt-macos-universal
191191 mv llvm-mingw $NAME
192192 tar -Jcf ../$NAME.tar.xz $NAME
193- - uses : actions/upload-artifact@v3
193+ - uses : actions/upload-artifact@v4
194194 with :
195195 name : macos-ucrt-toolchain
196196 path : |
@@ -227,7 +227,7 @@ jobs:
227227 toolchain:p
228228 cmake:p
229229 ninja:p
230- - uses : actions/checkout@v3
230+ - uses : actions/checkout@v4
231231 - name : Build
232232 env :
233233 LLVM_VERSION : ${{needs.prepare.outputs.LLVM_VERSION}}
@@ -242,7 +242,7 @@ jobs:
242242 NAME=llvm-mingw-$TAG-ucrt-msys2-${{matrix.sys}}
243243 mv llvm-mingw $NAME
244244 tar -Jcf ../$NAME.tar.xz $NAME
245- - uses : actions/upload-artifact@v3
245+ - uses : actions/upload-artifact@v4
246246 with :
247247 name : msys2-${{matrix.sys}}-toolchain
248248 path : |
@@ -265,7 +265,7 @@ jobs:
265265 - { arch: armv7, crt: ucrt }
266266 - { arch: aarch64, crt: ucrt }
267267 steps :
268- - uses : actions/download-artifact@v3
268+ - uses : actions/download-artifact@v4
269269 with :
270270 name : linux-${{matrix.crt}}-x86_64-toolchain
271271 - name : Unpack cross toolchain
@@ -274,7 +274,7 @@ jobs:
274274 rm llvm-mingw-*.tar.xz
275275 sudo mv llvm-mingw* /opt/llvm-mingw
276276 echo /opt/llvm-mingw/bin >> $GITHUB_PATH
277- - uses : actions/checkout@v3
277+ - uses : actions/checkout@v4
278278 - name : Build
279279 env :
280280 LLVM_VERSION : ${{needs.prepare.outputs.LLVM_VERSION}}
@@ -289,7 +289,7 @@ jobs:
289289 NAME=llvm-mingw-$TAG-${{matrix.crt}}-${{matrix.arch}}
290290 mv llvm-mingw $NAME
291291 zip -9rq ../$NAME.zip $NAME
292- - uses : actions/upload-artifact@v3
292+ - uses : actions/upload-artifact@v4
293293 with :
294294 name : windows-${{matrix.crt}}-${{matrix.arch}}-toolchain
295295 path : |
@@ -318,7 +318,7 @@ jobs:
318318 install : >-
319319 unzip
320320 make
321- - uses : actions/download-artifact@v3
321+ - uses : actions/download-artifact@v4
322322 with :
323323 name : windows-ucrt-${{matrix.arch}}-toolchain
324324 - name : Unpack toolchain
@@ -327,7 +327,7 @@ jobs:
327327 rm llvm-mingw-*.zip
328328 mv llvm-mingw-* /llvm-mingw
329329 echo /llvm-mingw/bin >> $GITHUB_PATH
330- - uses : actions/checkout@v3
330+ - uses : actions/checkout@v4
331331 - name : Run tests
332332 run : |
333333 ./run-tests.sh /llvm-mingw
@@ -358,7 +358,7 @@ jobs:
358358 - name : Install dependencies
359359 run : |
360360 choco install ninja
361- - uses : actions/download-artifact@v3
361+ - uses : actions/download-artifact@v4
362362 with :
363363 name : windows-ucrt-${{matrix.arch}}-toolchain
364364 - name : Unpack toolchain
@@ -369,7 +369,7 @@ jobs:
369369 echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
370370 echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
371371 echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
372- - uses : actions/checkout@v3
372+ - uses : actions/checkout@v4
373373 - name : Checkout llvm-project
374374 env :
375375 LLVM_VERSION : ${{needs.prepare.outputs.LLVM_VERSION}}
@@ -417,7 +417,7 @@ jobs:
417417 - name : Install dependencies
418418 run : |
419419 choco install ninja
420- - uses : actions/download-artifact@v3
420+ - uses : actions/download-artifact@v4
421421 with :
422422 name : windows-ucrt-${{matrix.arch}}-toolchain
423423 - name : Unpack toolchain
@@ -428,7 +428,7 @@ jobs:
428428 echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
429429 echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
430430 echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
431- - uses : actions/checkout@v3
431+ - uses : actions/checkout@v4
432432 - name : Checkout llvm-project
433433 env :
434434 LLVM_VERSION : ${{needs.prepare.outputs.LLVM_VERSION}}
@@ -481,7 +481,7 @@ jobs:
481481 - name : Install dependencies
482482 run : |
483483 choco install ninja
484- - uses : actions/download-artifact@v3
484+ - uses : actions/download-artifact@v4
485485 with :
486486 name : windows-ucrt-${{matrix.arch}}-toolchain
487487 - name : Unpack toolchain
@@ -492,7 +492,7 @@ jobs:
492492 echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
493493 echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
494494 echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
495- - uses : actions/checkout@v3
495+ - uses : actions/checkout@v4
496496 - name : Checkout llvm-project
497497 env :
498498 LLVM_VERSION : ${{needs.prepare.outputs.LLVM_VERSION}}
@@ -558,7 +558,7 @@ jobs:
558558 - armv7
559559 - aarch64
560560 steps :
561- - uses : actions/download-artifact@v3
561+ - uses : actions/download-artifact@v4
562562 with :
563563 name : linux-asserts-toolchain
564564 - name : Unpack cross toolchain
@@ -568,7 +568,7 @@ jobs:
568568 sudo mv llvm-mingw* /opt/llvm-mingw
569569 echo /opt/llvm-mingw/bin >> $GITHUB_PATH
570570 - name : Checkout ffmpeg
571- uses : actions/checkout@v3
571+ uses : actions/checkout@v4
572572 with :
573573 repository : ffmpeg/ffmpeg
574574 ref : n6.0
@@ -612,7 +612,7 @@ jobs:
612612 diffutils
613613 pacboy : >-
614614 nasm:p
615- - uses : actions/download-artifact@v3
615+ - uses : actions/download-artifact@v4
616616 with :
617617 name : windows-ucrt-x86_64-toolchain
618618 - name : Unpack toolchain
@@ -622,7 +622,7 @@ jobs:
622622 mv llvm-mingw-* /llvm-mingw
623623 echo /llvm-mingw/bin >> $GITHUB_PATH
624624 - name : Checkout ffmpeg
625- uses : actions/checkout@v3
625+ uses : actions/checkout@v4
626626 with :
627627 repository : ffmpeg/ffmpeg
628628 ref : n6.0
@@ -645,7 +645,7 @@ jobs:
645645 runs-on : ubuntu-latest
646646 steps :
647647 - name : Download all artifacts
648- uses : actions/download-artifact@v3
648+ uses : actions/download-artifact@v4
649649 - name : Rearrange files
650650 run : |
651651 rm -rf linux-asserts*
0 commit comments