github: Upgrade checkout@v4 to checkout@v6

checkout@v5 should be the same as checkout@v4, just running on
Node 24. checkout@v6 has got a few other minor changes that
shouldn't make any difference; opt in to newer behaviours now.
This commit is contained in:
Martin Storsjö committed 2026-03-13 12:19:18 +02:00
1 parent fabc4571b2
commit 89faddb7a3
7 files changed
+25 -25

No files matched your search

+16 -16
View File
@@ -30,7 +30,7 @@ jobs:
BUILD_DATE: ${{steps.get-tag.outputs.BUILD_DATE}}
BUILD_DATE_UNIX: ${{steps.get-tag.outputs.BUILD_DATE_UNIX}}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
sparse-checkout: .
- name: Select build tag
@@ -68,7 +68,7 @@ jobs:
needs: [prepare]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Build
env:
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
@@ -100,7 +100,7 @@ jobs:
needs: [prepare, linux-stage1]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: actions/download-artifact@v4
with:
name: linux-stage1-ucrt-x86_64-toolchain
@@ -131,7 +131,7 @@ jobs:
needs: [prepare, linux-stage1, linux-profile]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: actions/download-artifact@v4
with:
name: linux-stage1-ucrt-x86_64-toolchain
@@ -175,7 +175,7 @@ jobs:
needs: [linux-stage1, linux-profile, prepare]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: actions/download-artifact@v4
with:
name: linux-stage1-ucrt-x86_64-toolchain
@@ -233,7 +233,7 @@ jobs:
needs: [prepare]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Build
env:
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
@@ -260,7 +260,7 @@ jobs:
needs: [prepare]
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Build
env:
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
@@ -289,7 +289,7 @@ jobs:
needs: [prepare, macos-stage1, linux-profile]
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: actions/download-artifact@v4
with:
name: macos-llvm
@@ -355,7 +355,7 @@ jobs:
toolchain:p
cmake:p
ninja:p
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Build
env:
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
@@ -407,7 +407,7 @@ jobs:
rm llvm-mingw-*.tar.xz
sudo mv llvm-mingw* /opt/llvm-mingw
echo /opt/llvm-mingw/bin >> $GITHUB_PATH
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: actions/download-artifact@v4
with:
name: profile
@@ -473,7 +473,7 @@ jobs:
mv llvm-mingw-* c:\llvm-mingw
echo "c:\llvm-mingw\busybox\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Run tests
shell: sh
run: |
@@ -515,7 +515,7 @@ jobs:
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Checkout llvm-project
env:
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
@@ -574,7 +574,7 @@ jobs:
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Checkout llvm-project
env:
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
@@ -638,7 +638,7 @@ jobs:
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Checkout llvm-project
env:
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
@@ -715,7 +715,7 @@ jobs:
sudo mv llvm-mingw* /opt/llvm-mingw
echo /opt/llvm-mingw/bin >> $GITHUB_PATH
- name: Checkout ffmpeg
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: ffmpeg/ffmpeg
ref: n6.1.2
@@ -769,7 +769,7 @@ jobs:
mv llvm-mingw-* /llvm-mingw
echo /llvm-mingw/bin >> $GITHUB_PATH
- name: Checkout ffmpeg
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: ffmpeg/ffmpeg
ref: n6.1.2
+2 -2
View File
@@ -39,7 +39,7 @@ jobs:
needs: [prepare]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{inputs.ref}}
- name: Log in to Docker Hub
@@ -65,7 +65,7 @@ jobs:
needs: [prepare]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{inputs.ref}}
- name: Download toolchain
+3 -3
View File
@@ -45,7 +45,7 @@ jobs:
needs: [prepare]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{github.event_name == 'workflow_dispatch' && inputs.ref || 'master'}}
- name: Download toolchain
@@ -103,7 +103,7 @@ jobs:
rm llvm-mingw-*.tar.xz
sudo mv llvm-mingw* /opt/llvm-mingw
echo /opt/llvm-mingw/bin >> $GITHUB_PATH
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{github.event_name == 'workflow_dispatch' && inputs.ref || 'master'}}
- name: Download profile
@@ -184,7 +184,7 @@ jobs:
rm llvm-mingw-*.zip
mv llvm-mingw-* /llvm-mingw
echo /llvm-mingw/bin >> $GITHUB_PATH
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{github.event_name == 'workflow_dispatch' && inputs.ref || 'master'}}
- name: Run tests
+1 -1
View File
@@ -52,7 +52,7 @@ jobs:
- name: Set environment
run: |
cat parameters/parameters.txt >> $GITHUB_ENV
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{inputs.ref}}
path: repo
+1 -1
View File
@@ -65,7 +65,7 @@ jobs:
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Checkout llvm-project
env:
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
+1 -1
View File
@@ -64,7 +64,7 @@ jobs:
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Checkout llvm-project
env:
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
+1 -1
View File
@@ -6,7 +6,7 @@ jobs:
docker-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Build Docker images
uses: docker/build-push-action@v5
with: