mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-01 15:49:51 +08:00
Merge pull request #13449 from RytoEX/update-actions
CI: Update GitHub actions
This commit is contained in:
@@ -55,7 +55,7 @@ runs:
|
||||
echo ::endgroup::
|
||||
|
||||
- name: Annotate Schema Validation Errors 🏷️
|
||||
uses: yuzutech/annotations-action@0e061a6e3ac848299310b6429b60d67cafd4e7f8
|
||||
uses: yuzutech/annotations-action@00b2d488bcba3bd01014dc073d276ef4a45d5c6c # v0.6.0
|
||||
if: failure()
|
||||
with:
|
||||
repo-token: ${{ inputs.repositorySecret }}
|
||||
|
||||
@@ -66,7 +66,7 @@ runs:
|
||||
target_branch: master
|
||||
target_path: '../home/_build'
|
||||
|
||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: ${{ steps.setup.outputs.artifactName }} ${{ steps.setup.outputs.commitHash }}
|
||||
path: |
|
||||
|
||||
@@ -33,7 +33,7 @@ runs:
|
||||
echo ::endgroup::
|
||||
|
||||
- name: Register Annotations 📝
|
||||
uses: korelstar/xmllint-problem-matcher@1bd292d642ddf3d369d02aaa8b262834d61198c0
|
||||
uses: korelstar/xmllint-problem-matcher@b105cfa34e5c5a3e27644cee1d4d0f9993aef707
|
||||
|
||||
- name: Check for Changed Files ✅
|
||||
uses: ./.github/actions/check-changes
|
||||
|
||||
@@ -80,7 +80,7 @@ runs:
|
||||
|
||||
- name: Annotate schema validation errors 🏷️
|
||||
if: fromJSON(inputs.runSchemaChecks) && failure()
|
||||
uses: yuzutech/annotations-action@0e061a6e3ac848299310b6429b60d67cafd4e7f8
|
||||
uses: yuzutech/annotations-action@00b2d488bcba3bd01014dc073d276ef4a45d5c6c # v0.6.0
|
||||
with:
|
||||
repo-token: ${{ inputs.repositorySecret }}
|
||||
title: Service JSON Errors
|
||||
@@ -88,7 +88,7 @@ runs:
|
||||
|
||||
- name: Restore Timestamp Cache ⏳
|
||||
if: fromJSON(inputs.runServiceChecks)
|
||||
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
|
||||
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
with:
|
||||
path: ${{ github.workspace }}/other
|
||||
key: service-check-${{ github.run_id }}
|
||||
@@ -111,14 +111,14 @@ runs:
|
||||
source .venv/bin/activate
|
||||
python3 -u .github/scripts/utils.py/check-services.py
|
||||
|
||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
if: fromJSON(inputs.runServiceChecks)
|
||||
with:
|
||||
name: timestamps
|
||||
path: ${{ inputs.workingDirectory }}/other/*
|
||||
|
||||
- name: Create pull request 🔧
|
||||
uses: peter-evans/create-pull-request@d121e62763d8cc35b5fb1710e887d6e69a52d3a4
|
||||
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
||||
if: fromJSON(inputs.createPullRequest) && fromJSON(inputs.runServiceChecks) && fromJSON(steps.services-check.outputs.make_pr)
|
||||
with:
|
||||
author: 'Service Checker <commits@obsproject.com>'
|
||||
|
||||
@@ -70,7 +70,7 @@ runs:
|
||||
|
||||
- name: Download Nightly Assets 🌙
|
||||
id: asset-info-nightly
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
|
||||
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
if: github.event_name == 'schedule'
|
||||
|
||||
- name: Download Assets 📥
|
||||
@@ -197,11 +197,11 @@ runs:
|
||||
popd
|
||||
|
||||
- name: Set Up steamcmd 🚂
|
||||
uses: CyberAndrii/setup-steamcmd@29e114af032a947f5ed57832409070d6e4cbfce3
|
||||
uses: andriivitiv/setup-steamcmd@afc45f145b95c175c3a3862d3ca84756537d48e8 # v1.3.0
|
||||
|
||||
- name: Generate Steam auth code 🔐
|
||||
id: steam-totp
|
||||
uses: CyberAndrii/steam-totp@45775c32193801a84d19d94076d72a2ece010948
|
||||
uses: andriivitiv/steam-totp@1661caebf0a84a79be0166020f81837039137101 # v1.2.0
|
||||
if: ${{ ! fromJSON(inputs.preview) }}
|
||||
with:
|
||||
shared_secret: ${{ inputs.steamSecret }}
|
||||
@@ -248,7 +248,7 @@ runs:
|
||||
|
||||
- name: Generate Steam auth code 🔐
|
||||
id: steam-totp-playtest
|
||||
uses: CyberAndrii/steam-totp@45775c32193801a84d19d94076d72a2ece010948
|
||||
uses: andriivitiv/steam-totp@1661caebf0a84a79be0166020f81837039137101 # v1.2.0
|
||||
if: ${{ ! fromJSON(inputs.preview) && fromJSON(steps.asset-info.outputs.is_prerelease) }}
|
||||
with:
|
||||
shared_secret: ${{ inputs.steamSecret }}
|
||||
@@ -285,7 +285,7 @@ runs:
|
||||
popd
|
||||
|
||||
- name: Upload Steam build logs
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: steam-build-logs
|
||||
path: ${{ github.workspace }}/steam/build/*.log
|
||||
|
||||
@@ -76,7 +76,7 @@ runs:
|
||||
Invoke-External "C:\Program Files (x86)\PVS-Studio\PlogConverter.exe" @conversionParams
|
||||
|
||||
- name: Upload PVS-Studio Logs
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: 'pvs-analysis-log'
|
||||
path: |
|
||||
@@ -84,7 +84,7 @@ runs:
|
||||
${{ github.workspace }}/analysis.plog.sarif
|
||||
|
||||
- name: Upload PVS-Studio Report
|
||||
uses: github/codeql-action/upload-sarif@ebcb5b36ded6beda4ceefea6a8bc4cc885255bb3
|
||||
uses: github/codeql-action/upload-sarif@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
|
||||
with:
|
||||
sarif_file: "${{ github.workspace }}/analysis.plog.sarif"
|
||||
category: 'PVS-Studio (Windows)'
|
||||
|
||||
@@ -25,7 +25,7 @@ inputs:
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
path: "repo"
|
||||
fetch-depth: 0
|
||||
@@ -113,7 +113,7 @@ runs:
|
||||
Invoke-External "${{ github.workspace }}\bouf\bin\bouf.exe" @boufArgs
|
||||
|
||||
- name: Upload Outputs
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: windows-updater-files
|
||||
compression-level: 0
|
||||
|
||||
@@ -80,7 +80,7 @@ runs:
|
||||
choco install rclone --version=1.69.3 -y --no-progress
|
||||
|
||||
- name: 'Authenticate to Google Cloud'
|
||||
uses: 'google-github-actions/auth@5a50e581162a13f4baa8916d01180d2acbc04363'
|
||||
uses: 'google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093' # v3.0.0
|
||||
with:
|
||||
workload_identity_provider: ${{ inputs.gcpWorkloadIdentityProvider }}
|
||||
service_account: ${{ inputs.gcpServiceAccountName }}
|
||||
|
||||
@@ -10,7 +10,7 @@ jobs:
|
||||
run:
|
||||
shell: pwsh
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
run:
|
||||
shell: zsh --no-rcs --errexit --pipefail {0}
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -129,7 +129,7 @@ jobs:
|
||||
popd
|
||||
|
||||
- name: Upload SARIF report files 📦
|
||||
uses: github/codeql-action/upload-sarif@ebcb5b36ded6beda4ceefea6a8bc4cc885255bb3
|
||||
uses: github/codeql-action/upload-sarif@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
|
||||
with:
|
||||
sarif_file: "${{ github.workspace }}/analytics/merged.sarif"
|
||||
category: 'clang-analyze (macOS Apple Silicon)'
|
||||
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
config: ${{ steps.setup.outputs.config }}
|
||||
commitHash: ${{ steps.setup.outputs.commitHash }}
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Check Event Data ☑️
|
||||
@@ -69,7 +69,7 @@ jobs:
|
||||
run:
|
||||
shell: zsh --no-rcs --errexit --pipefail {0}
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -103,7 +103,7 @@ jobs:
|
||||
|
||||
print "xcodeCasPath=${xcode_cas_path}" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830
|
||||
- uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
id: xcode-cache
|
||||
with:
|
||||
path: ${{ steps.setup.outputs.xcodeCasPath }}
|
||||
@@ -157,19 +157,19 @@ jobs:
|
||||
codesignPass: ${{ secrets.MACOS_NOTARIZATION_PASSWORD }}
|
||||
|
||||
- name: Upload Artifacts 📡
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: obs-studio-macos-${{ matrix.target }}-${{ needs.check-event.outputs.commitHash }}
|
||||
path: ${{ github.workspace }}/build_macos/obs-studio-*-macos-${{ steps.setup.outputs.cpuName }}.*
|
||||
|
||||
- name: Upload Debug Symbol Artifacts 🪲
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
if: ${{ needs.check-event.outputs.config == 'Release' }}
|
||||
with:
|
||||
name: obs-studio-macos-${{ matrix.target }}-${{ needs.check-event.outputs.commitHash }}-dSYMs
|
||||
path: ${{ github.workspace }}/build_macos/obs-studio-*-macos-${{ steps.setup.outputs.cpuName }}-dSYMs.tar.xz
|
||||
|
||||
- uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830
|
||||
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
if: github.event_name != 'pull_request' && steps.xcode-cache.outputs.cache-hit != 'true'
|
||||
with:
|
||||
path: ${{ steps.setup.outputs.xcodeCasPath }}
|
||||
@@ -186,12 +186,12 @@ jobs:
|
||||
run:
|
||||
shell: bash
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830
|
||||
- uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
id: ccache-cache
|
||||
with:
|
||||
path: ${{ github.workspace }}/.ccache
|
||||
@@ -222,25 +222,25 @@ jobs:
|
||||
package: ${{ fromJSON(needs.check-event.outputs.package) }}
|
||||
|
||||
- name: Upload Source Tarball 🗜️
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: obs-studio-${{ matrix.os }}-sources-${{ needs.check-event.outputs.commitHash }}
|
||||
path: ${{ github.workspace }}/build_ubuntu/obs-studio-*-sources.*
|
||||
|
||||
- name: Upload Artifacts 📡
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: obs-studio-${{ matrix.os }}-x86_64-${{ needs.check-event.outputs.commitHash }}
|
||||
path: ${{ github.workspace }}/build_ubuntu/obs-studio-*-x86_64-ubuntu-gnu.*
|
||||
|
||||
- name: Upload Debug Symbol Artifacts 🪲
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
if: ${{ fromJSON(needs.check-event.outputs.package) }}
|
||||
with:
|
||||
name: obs-studio-${{ matrix.os }}-x86_64-${{ needs.check-event.outputs.commitHash }}-dbgsym
|
||||
path: ${{ github.workspace }}/build_ubuntu/obs-studio-*-x86_64-ubuntu-gnu-dbgsym.ddeb
|
||||
|
||||
- uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830
|
||||
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
if: github.event_name != 'pull_request' && steps.ccache-cache.outputs.cache-hit != 'true'
|
||||
with:
|
||||
path: ${{ github.workspace }}/.ccache
|
||||
@@ -303,7 +303,7 @@ jobs:
|
||||
df -h
|
||||
echo ::endgroup::
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -339,7 +339,7 @@ jobs:
|
||||
path: build-aux/com.obsproject.Studio.json
|
||||
|
||||
- name: Build Flatpak Manifest 🧾
|
||||
uses: flatpak/flatpak-github-actions/flatpak-builder@b8a638469ea7ec62844d7b6e487b697e6f249576
|
||||
uses: flatpak/flatpak-github-actions/flatpak-builder@401fe28a8384095fc1531b9d320b292f0ee45adb # v6.7
|
||||
with:
|
||||
build-bundle: ${{ fromJSON(needs.check-event.outputs.package) }}
|
||||
bundle: obs-studio-flatpak-${{ needs.check-event.outputs.commitHash }}.flatpak
|
||||
@@ -385,7 +385,7 @@ jobs:
|
||||
run:
|
||||
shell: pwsh
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -414,7 +414,7 @@ jobs:
|
||||
package: ${{ fromJSON(needs.check-event.outputs.package) }}
|
||||
|
||||
- name: Upload Artifacts 📡
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: obs-studio-windows-${{ matrix.architecture }}-${{ needs.check-event.outputs.commitHash }}
|
||||
path: ${{ github.workspace }}/build_${{ matrix.architecture }}/obs-studio-*-windows-${{ matrix.architecture }}.zip
|
||||
|
||||
@@ -5,7 +5,7 @@ jobs:
|
||||
clang-format:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: clang-format Check 🐉
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
swift-format:
|
||||
runs-on: macos-15
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: swift-format Check 🔥
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
gersemi:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: gersemi Check 🎛️
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
flatpak-validator:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Flatpak Manifest Check 📦
|
||||
@@ -53,7 +53,7 @@ jobs:
|
||||
qt-xml-validator:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Qt XML Check 🖼️
|
||||
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Check for Defunct Services 📉
|
||||
uses: ./.github/actions/services-validator
|
||||
with:
|
||||
@@ -63,19 +63,19 @@ jobs:
|
||||
env:
|
||||
CROWDIN_PAT: ${{ secrets.CROWDIN_SYNC_CROWDIN_PAT }}
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
submodules: recursive
|
||||
token: ${{ secrets.CROWDIN_SYNC_GITHUB_PAT }}
|
||||
fetch-depth: 0
|
||||
- uses: obsproject/obs-crowdin-sync/download@430665179ed13233af2d83ec192c2ae8c40a29ae
|
||||
- uses: obsproject/obs-crowdin-sync/download@4b488c7ced03aa109d9f12529bd91c26c54b3e89
|
||||
|
||||
steam-upload:
|
||||
name: Upload Steam Builds 🚂
|
||||
if: github.repository_owner == 'obsproject' && inputs.job == 'steam'
|
||||
runs-on: macos-15
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: ./.github/actions/steam-upload
|
||||
with:
|
||||
steamSecret: ${{ secrets.STEAM_SHARED_SECRET }}
|
||||
@@ -93,7 +93,7 @@ jobs:
|
||||
if: github.repository_owner == 'obsproject' && inputs.job == 'documentation'
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: ./.github/actions/generate-docs
|
||||
|
||||
update-documentation-cloudflare:
|
||||
@@ -101,7 +101,7 @@ jobs:
|
||||
if: github.repository_owner == 'obsproject' && inputs.job == 'documentation'
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: ./.github/actions/generate-docs
|
||||
with:
|
||||
disableLinkExtensions: true
|
||||
@@ -123,13 +123,13 @@ jobs:
|
||||
: Get Commit Hash 🆔
|
||||
echo "commitHash=${GITHUB_SHA:0:9}" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
with:
|
||||
name: OBS Studio Docs (No Extensions) ${{ steps.setup.outputs.commitHash }}
|
||||
path: docs
|
||||
|
||||
- name: Publish to Live Page
|
||||
uses: cloudflare/wrangler-action@4c10c1822abba527d820b29e6333e7f5dac2cabd
|
||||
uses: cloudflare/wrangler-action@ebbaa1584979971c8614a24965b4405ff95890e0 # v4.0.0
|
||||
with:
|
||||
workingDirectory: docs
|
||||
apiToken: ${{ secrets.CF_API_TOKEN }}
|
||||
@@ -141,7 +141,7 @@ jobs:
|
||||
if: github.repository_owner == 'obsproject' && inputs.job == 'patches'
|
||||
runs-on: windows-2022
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: ./.github/actions/windows-patches
|
||||
with:
|
||||
tagName: ${{ inputs.ref }}
|
||||
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
permissions:
|
||||
checks: write
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
permissions:
|
||||
checks: write
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -79,7 +79,7 @@ jobs:
|
||||
if: github.repository_owner == 'obsproject' && github.base_ref == 'master'
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
flatpakMatrix: ${{ steps.check.outputs.flatpakMatrix }}
|
||||
updateChannel: ${{ steps.check.outputs.updateChannel }}
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -137,7 +137,7 @@ jobs:
|
||||
df -h
|
||||
echo ::endgroup::
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -174,7 +174,7 @@ jobs:
|
||||
path: build-aux/com.obsproject.Studio.json
|
||||
|
||||
- name: Build Flatpak Manifest
|
||||
uses: flatpak/flatpak-github-actions/flatpak-builder@b8a638469ea7ec62844d7b6e487b697e6f249576
|
||||
uses: flatpak/flatpak-github-actions/flatpak-builder@401fe28a8384095fc1531b9d320b292f0ee45adb # v6.7
|
||||
with:
|
||||
build-bundle: false
|
||||
manifest-path: ${{ github.workspace }}/build-aux/com.obsproject.Studio.json
|
||||
@@ -209,7 +209,7 @@ jobs:
|
||||
path: repo
|
||||
|
||||
- name: Publish to Flathub Beta
|
||||
uses: flatpak/flatpak-github-actions/flat-manager@b8a638469ea7ec62844d7b6e487b697e6f249576
|
||||
uses: flatpak/flatpak-github-actions/flat-manager@401fe28a8384095fc1531b9d320b292f0ee45adb # v6.7
|
||||
if: ${{ matrix.branch == 'beta' }}
|
||||
with:
|
||||
flat-manager-url: https://hub.flathub.org/
|
||||
@@ -218,7 +218,7 @@ jobs:
|
||||
build-log-url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||
|
||||
- name: Publish to Flathub
|
||||
uses: flatpak/flatpak-github-actions/flat-manager@b8a638469ea7ec62844d7b6e487b697e6f249576
|
||||
uses: flatpak/flatpak-github-actions/flat-manager@401fe28a8384095fc1531b9d320b292f0ee45adb # v6.7
|
||||
if: ${{ matrix.branch == 'stable' }}
|
||||
with:
|
||||
flat-manager-url: https://hub.flathub.org/
|
||||
@@ -232,7 +232,7 @@ jobs:
|
||||
if: github.repository_owner == 'obsproject' && fromJSON(needs.check-tag.outputs.validTag)
|
||||
runs-on: macos-15
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: ./.github/actions/steam-upload
|
||||
with:
|
||||
steamSecret: ${{ secrets.STEAM_SHARED_SECRET }}
|
||||
@@ -248,7 +248,7 @@ jobs:
|
||||
if: github.repository_owner == 'obsproject' && fromJSON(needs.check-tag.outputs.validTag)
|
||||
runs-on: windows-2022
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: ./.github/actions/windows-patches
|
||||
with:
|
||||
tagName: ${{ github.ref_name }}
|
||||
|
||||
+11
-11
@@ -33,7 +33,7 @@ jobs:
|
||||
permissions:
|
||||
checks: write
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -57,7 +57,7 @@ jobs:
|
||||
permissions:
|
||||
checks: write
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -81,7 +81,7 @@ jobs:
|
||||
if: github.repository_owner == 'obsproject' && (github.ref_name == 'master' || github.ref_type == 'tag')
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -115,7 +115,7 @@ jobs:
|
||||
: Get Commit Hash 🆔
|
||||
echo "commitHash=${GITHUB_SHA:0:9}" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
with:
|
||||
name: OBS Studio Docs (No Extensions) ${{ steps.setup.outputs.commitHash }}
|
||||
path: docs
|
||||
@@ -129,7 +129,7 @@ jobs:
|
||||
echo "/previous/:major.:minor https://:major-:minor.${{ vars.CF_PAGES_PROJECT }}.pages.dev 302" >> docs/_redirects
|
||||
|
||||
- name: Publish to Live Page
|
||||
uses: cloudflare/wrangler-action@f84a562284fc78278ff9052435d9526f9c718361
|
||||
uses: cloudflare/wrangler-action@ebbaa1584979971c8614a24965b4405ff95890e0 # v4.0.0
|
||||
with:
|
||||
workingDirectory: docs
|
||||
apiToken: ${{ secrets.CF_API_TOKEN }}
|
||||
@@ -149,7 +149,7 @@ jobs:
|
||||
run:
|
||||
shell: zsh --no-rcs --errexit --pipefail {0}
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -172,7 +172,7 @@ jobs:
|
||||
print "channel=${channel}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Download Artifact 📥
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
|
||||
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
with:
|
||||
name: obs-studio-macos-${{ matrix.target }}-${{ steps.setup.outputs.commitHash }}
|
||||
|
||||
@@ -189,7 +189,7 @@ jobs:
|
||||
customLink: 'https://obsproject.com/'
|
||||
|
||||
- name: Upload Artifacts 📡
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: macos-sparkle-update-${{ matrix.target }}
|
||||
path: ${{ github.workspace }}/output
|
||||
@@ -199,7 +199,7 @@ jobs:
|
||||
needs: create-appcast
|
||||
steps:
|
||||
- name: Merge Appcasts
|
||||
uses: actions/upload-artifact/merge@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact/merge@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: macos-sparkle-update
|
||||
pattern: macos-sparkle-update-*
|
||||
@@ -207,7 +207,7 @@ jobs:
|
||||
|
||||
sign-windows-build:
|
||||
name: Windows Signing ✍️
|
||||
uses: obsproject/obs-studio/.github/workflows/sign-windows.yaml@434f8156847412e4db53287f6286d9230c8e940a
|
||||
uses: obsproject/obs-studio/.github/workflows/sign-windows.yaml@037100a28131fc10127f5a3f85b80306ebe1b6ff
|
||||
if: github.repository_owner == 'obsproject' && github.ref_type == 'tag'
|
||||
needs: build-project
|
||||
permissions:
|
||||
@@ -247,7 +247,7 @@ jobs:
|
||||
esac
|
||||
|
||||
- name: Download Build Artifacts 📥
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
|
||||
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
if: ${{ fromJSON(steps.check.outputs.validTag) }}
|
||||
|
||||
- name: Rename Files 🏷️
|
||||
|
||||
@@ -19,11 +19,11 @@ jobs:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set Up Homebrew 🍺
|
||||
uses: Homebrew/actions/setup-homebrew@4ebd32341e5b59ae7e1581111aa99d5d34cef962
|
||||
uses: Homebrew/actions/setup-homebrew@8eb7f2efa6ab636da09aef605b497fd5b8a7587d
|
||||
- name: Check for Defunct Services 📉
|
||||
uses: ./.github/actions/services-validator
|
||||
with:
|
||||
@@ -111,7 +111,7 @@ jobs:
|
||||
if: github.repository_owner == 'obsproject' && github.ref_name == 'master'
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -154,7 +154,7 @@ jobs:
|
||||
|
||||
- name: Upload US English Language Files 🇺🇸
|
||||
if: steps.checks.outcome == 'success' && fromJSON(steps.checks.outputs.hasChangedFiles)
|
||||
uses: obsproject/obs-crowdin-sync/upload@430665179ed13233af2d83ec192c2ae8c40a29ae
|
||||
uses: obsproject/obs-crowdin-sync/upload@4b488c7ced03aa109d9f12529bd91c26c54b3e89
|
||||
env:
|
||||
CROWDIN_PAT: ${{ secrets.CROWDIN_SYNC_CROWDIN_PAT }}
|
||||
GITHUB_EVENT_BEFORE: ${{ steps.nightly-checks.outputs.lastNightly }}
|
||||
@@ -168,7 +168,7 @@ jobs:
|
||||
run:
|
||||
shell: zsh --no-rcs --errexit --pipefail {0}
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: Check Nightly Runs ☑️
|
||||
id: checks
|
||||
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
Write-Output "Workflow SHA: ${sha}"
|
||||
"workflow_sha=${sha}" >> $env:GITHUB_OUTPUT
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
path: "repo"
|
||||
fetch-depth: 0
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
"commitHash=${shortHash}" >> $env:GITHUB_OUTPUT
|
||||
|
||||
- name: Download Artifact 📥
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
|
||||
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
with:
|
||||
name: obs-studio-windows-${{ matrix.architecture }}-${{ steps.setup.outputs.commitHash }}
|
||||
path: ${{ github.workspace }}/build
|
||||
@@ -57,26 +57,26 @@ jobs:
|
||||
architecture: ${{ matrix.architecture }}
|
||||
|
||||
- name: Generate artifact attestation
|
||||
uses: actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018
|
||||
uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4.1.0
|
||||
with:
|
||||
subject-path: ${{ github.workspace }}/output/*-${{ matrix.architecture }}.zip
|
||||
|
||||
- name: Upload Signed Build
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: obs-studio-windows-${{ matrix.architecture }}-${{ github.ref_name }}-signed
|
||||
compression-level: 0
|
||||
path: ${{ github.workspace }}/output/*-${{ matrix.architecture }}.zip
|
||||
|
||||
- name: Upload PDBs
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: obs-studio-windows-${{ matrix.architecture }}-${{ github.ref_name }}-pdbs
|
||||
compression-level: 0
|
||||
path: ${{ github.workspace }}/output/*-pdbs.zip
|
||||
|
||||
- name: Upload Installer
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
if: matrix.architecture == 'x64'
|
||||
with:
|
||||
name: obs-studio-windows-${{ matrix.architecture }}-${{ github.ref_name }}-installer
|
||||
|
||||
Reference in New Issue
Block a user