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