Update Github Actions generation script and upgrade freeBSD actions.

This commit is contained in:
guangli-dai 2026-04-21 10:54:59 -07:00 committed by Guangli Dai
parent 94977e823e
commit d7b283ed32
2 changed files with 6 additions and 6 deletions

View file

@ -25,7 +25,7 @@ jobs:
name: FreeBSD (${{ matrix.arch }}, debug=${{ matrix.debug }}, prof=${{ matrix.prof }}${{ matrix.uncommon && ', uncommon' || '' }})
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 1

View file

@ -287,7 +287,7 @@ def generate_linux_job(arch):
job += f"""
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Show OS version
run: |
@ -302,7 +302,7 @@ def generate_linux_job(arch):
cat /etc/os-release || true
echo ""
echo "=== CPU Info ==="
lscpu | grep -E "Architecture|CPU op-mode|Byte Order|CPU\(s\):" || true
lscpu | grep -E "Architecture|CPU op-mode|Byte Order|CPU\\(s\\):" || true
- name: Install dependencies (32-bit)
if: matrix.env.CROSS_COMPILE_32BIT == 'yes'
@ -387,7 +387,7 @@ def generate_macos_job(arch):
job += f"""
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Show OS version
run: |
@ -469,7 +469,7 @@ def generate_windows_job(arch):
job += f"""
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Show OS version
shell: cmd
@ -590,7 +590,7 @@ def generate_freebsd_job(arch):
name: FreeBSD (${{{{ matrix.arch }}}}, debug=${{{{ matrix.debug }}}}, prof=${{{{ matrix.prof }}}}${{{{ matrix.uncommon && ', uncommon' || '' }}}})
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 1