CI: Update all workflows to Ubuntu 24.04
This commit is contained in:
parent
834c15e717
commit
154f0b549d
7 changed files with 24 additions and 30 deletions
6
.github/workflows/build-project.yaml
vendored
6
.github/workflows/build-project.yaml
vendored
|
|
@ -4,7 +4,7 @@ on:
|
|||
jobs:
|
||||
check-event:
|
||||
name: Event Data 🔎
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
|
@ -172,7 +172,7 @@ jobs:
|
|||
name: Ubuntu 🐧
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-22.04, ubuntu-24.04]
|
||||
os: [ubuntu-24.04]
|
||||
runs-on: ${{ matrix.os }}
|
||||
needs: check-event
|
||||
defaults:
|
||||
|
|
@ -241,7 +241,7 @@ jobs:
|
|||
|
||||
flatpak-build:
|
||||
name: Flatpak 📦
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
needs: check-event
|
||||
defaults:
|
||||
run:
|
||||
|
|
|
|||
8
.github/workflows/check-format.yaml
vendored
8
.github/workflows/check-format.yaml
vendored
|
|
@ -3,7 +3,7 @@ on:
|
|||
workflow_call:
|
||||
jobs:
|
||||
clang-format:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
failCondition: error
|
||||
|
||||
gersemi:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
failCondition: error
|
||||
|
||||
flatpak-validator:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
failCondition: error
|
||||
|
||||
qt-xml-validator:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
|
|||
8
.github/workflows/dispatch.yaml
vendored
8
.github/workflows/dispatch.yaml
vendored
|
|
@ -59,7 +59,7 @@ jobs:
|
|||
download-language-files:
|
||||
name: Download Language Files 🌐
|
||||
if: github.repository_owner == 'obsproject' && inputs.job == 'translations'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
env:
|
||||
CROWDIN_PAT: ${{ secrets.CROWDIN_SYNC_CROWDIN_PAT }}
|
||||
steps:
|
||||
|
|
@ -91,7 +91,7 @@ jobs:
|
|||
update-documentation:
|
||||
name: Update Documentation 📖
|
||||
if: github.repository_owner == 'obsproject' && inputs.job == 'documentation'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/generate-docs
|
||||
|
|
@ -99,7 +99,7 @@ jobs:
|
|||
update-documentation-cloudflare:
|
||||
name: Update Documentation for Cloudflare ☁️
|
||||
if: github.repository_owner == 'obsproject' && inputs.job == 'documentation'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/generate-docs
|
||||
|
|
@ -109,7 +109,7 @@ jobs:
|
|||
deploy-documentation:
|
||||
name: Deploy Documentation to Cloudflare ☁️
|
||||
if: github.repository_owner == 'obsproject' && inputs.job == 'documentation'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
needs: update-documentation-cloudflare
|
||||
defaults:
|
||||
run:
|
||||
|
|
|
|||
6
.github/workflows/pr-pull.yaml
vendored
6
.github/workflows/pr-pull.yaml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
compatibility-validation:
|
||||
name: Validate Compatibility 🕵️
|
||||
if: github.base_ref == 'master'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
checks: write
|
||||
steps:
|
||||
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
services-validation:
|
||||
name: Validate Services 🕵️
|
||||
if: github.base_ref == 'master'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
checks: write
|
||||
steps:
|
||||
|
|
@ -77,7 +77,7 @@ jobs:
|
|||
update-documentation:
|
||||
name: Update Documentation 📖
|
||||
if: github.repository_owner == 'obsproject' && github.base_ref == 'master'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
|
|||
4
.github/workflows/publish.yaml
vendored
4
.github/workflows/publish.yaml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
check-tag:
|
||||
name: Check Release Tag
|
||||
if: github.repository_owner == 'obsproject'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
outputs:
|
||||
validTag: ${{ steps.check.outputs.validTag }}
|
||||
flatpakMatrix: ${{ steps.check.outputs.flatpakMatrix }}
|
||||
|
|
@ -47,7 +47,7 @@ jobs:
|
|||
name: Flathub 📦
|
||||
needs: check-tag
|
||||
if: github.repository_owner == 'obsproject' && fromJSON(needs.check-tag.outputs.validTag)
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
|
|
|||
18
.github/workflows/push.yaml
vendored
18
.github/workflows/push.yaml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
compatibility-validation:
|
||||
name: Validate Compatibility 🕵️
|
||||
if: github.ref_name == 'master'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
checks: write
|
||||
steps:
|
||||
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
services-validation:
|
||||
name: Validate Services 🕵️
|
||||
if: github.ref_name == 'master'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
checks: write
|
||||
steps:
|
||||
|
|
@ -79,7 +79,7 @@ jobs:
|
|||
update-documentation:
|
||||
name: Update Documentation 📖
|
||||
if: github.repository_owner == 'obsproject' && (github.ref_name == 'master' || github.ref_type == 'tag')
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -101,7 +101,7 @@ jobs:
|
|||
deploy-documentation:
|
||||
name: Deploy Documentation to Cloudflare ☁️
|
||||
if: github.repository_owner == 'obsproject' && github.ref_type == 'tag'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
needs: update-documentation
|
||||
defaults:
|
||||
run:
|
||||
|
|
@ -195,7 +195,7 @@ jobs:
|
|||
path: ${{ github.workspace }}/output
|
||||
|
||||
merge-appcasts:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
needs: create-appcast
|
||||
steps:
|
||||
- name: Merge Appcasts
|
||||
|
|
@ -219,7 +219,7 @@ jobs:
|
|||
create-release:
|
||||
name: Create Release 🛫
|
||||
if: github.ref_type == 'tag'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
needs: [build-project, sign-windows-build]
|
||||
defaults:
|
||||
run:
|
||||
|
|
@ -263,8 +263,6 @@ jobs:
|
|||
macos_arm64_dsym_artifact_name="obs-studio-macos-arm64-${commit_hash}-dSYMs"
|
||||
macos_intel_artifact_name="obs-studio-macos-x86_64-${commit_hash}"
|
||||
macos_intel_dsym_artifact_name="obs-studio-macos-x86_64-${commit_hash}-dSYMs"
|
||||
ubuntu_2204_x86_64_artifact_name="obs-studio-ubuntu-22.04-x86_64-${commit_hash}"
|
||||
ubuntu_2204_x86_64_debug_name="obs-studio-ubuntu-22.04-x86_64-${commit_hash}-dbgsym"
|
||||
ubuntu_2404_x86_64_artifact_name="obs-studio-ubuntu-24.04-x86_64-${commit_hash}"
|
||||
ubuntu_2404_x86_64_debug_name="obs-studio-ubuntu-24.04-x86_64-${commit_hash}-dbgsym"
|
||||
ubuntu_2404_sources_name="obs-studio-ubuntu-24.04-sources-${commit_hash}"
|
||||
|
|
@ -281,10 +279,6 @@ jobs:
|
|||
"${root_dir}"/OBS-Studio-${{ steps.check.outputs.version }}-macOS-Intel.dmg
|
||||
mv -v "${macos_intel_dsym_artifact_name}/"obs-studio-*-macos-intel-dSYMs.tar.xz \
|
||||
"${root_dir}"/OBS-Studio-${{ steps.check.outputs.version }}-macOS-Intel-dSYMs.tar.xz
|
||||
mv -v "${ubuntu_2204_x86_64_artifact_name}/"obs-studio-*-x86_64-ubuntu-gnu.deb \
|
||||
"${root_dir}"/OBS-Studio-${{ steps.check.outputs.version }}-Ubuntu-22.04-x86_64.deb
|
||||
mv -v "${ubuntu_2204_x86_64_debug_name}/"obs-studio-*-x86_64-ubuntu-gnu-dbgsym.ddeb \
|
||||
"${root_dir}"/OBS-Studio-${{ steps.check.outputs.version }}-Ubuntu-22.04-x86_64-dbsym.ddeb
|
||||
mv -v "${ubuntu_2404_x86_64_artifact_name}/"obs-studio-*-x86_64-ubuntu-gnu.deb \
|
||||
"${root_dir}"/OBS-Studio-${{ steps.check.outputs.version }}-Ubuntu-24.04-x86_64.deb
|
||||
mv -v "${ubuntu_2404_x86_64_debug_name}/"obs-studio-*-x86_64-ubuntu-gnu-dbgsym.ddeb \
|
||||
|
|
|
|||
4
.github/workflows/scheduled.yaml
vendored
4
.github/workflows/scheduled.yaml
vendored
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
|
||||
cache-cleanup:
|
||||
name: Cache Cleanup 🧹
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
actions: write
|
||||
steps:
|
||||
|
|
@ -99,7 +99,7 @@ jobs:
|
|||
upload-language-files:
|
||||
name: Upload Language Files 🌐
|
||||
if: github.repository_owner == 'obsproject' && github.ref_name == 'master'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue