|
@@ -15,7 +15,7 @@ jobs:
|
|
|
config: ${{ steps.setup.outputs.config }}
|
|
|
commitHash: ${{ steps.setup.outputs.commitHash }}
|
|
|
steps:
|
|
|
- - uses: actions/checkout@v3
|
|
|
+ - uses: actions/checkout@v4
|
|
|
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@v3
|
|
|
+ - uses: actions/checkout@v4
|
|
|
with:
|
|
|
submodules: recursive
|
|
|
fetch-depth: 0
|
|
@@ -101,7 +101,7 @@ jobs:
|
|
|
local -A arch_names=(x86_64 intel arm64 apple)
|
|
|
print "cpuName=${arch_names[${{ matrix.target }}]}" >> $GITHUB_OUTPUT
|
|
|
|
|
|
- - uses: actions/cache/restore@v3
|
|
|
+ - uses: actions/cache/restore@v4
|
|
|
id: ccache-cache
|
|
|
with:
|
|
|
path: ${{ github.workspace }}/.ccache
|
|
@@ -154,19 +154,19 @@ jobs:
|
|
|
codesignPass: ${{ secrets.MACOS_NOTARIZATION_PASSWORD }}
|
|
|
|
|
|
- name: Upload Artifacts 📡
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
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@v3
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
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@v3
|
|
|
+ - uses: actions/cache/save@v4
|
|
|
if: github.event_name != 'pull_request' && steps.ccache-cache.outputs.cache-hit != 'true'
|
|
|
with:
|
|
|
path: ${{ github.workspace }}/.ccache
|
|
@@ -180,12 +180,12 @@ jobs:
|
|
|
run:
|
|
|
shell: bash
|
|
|
steps:
|
|
|
- - uses: actions/checkout@v3
|
|
|
+ - uses: actions/checkout@v4
|
|
|
with:
|
|
|
submodules: recursive
|
|
|
fetch-depth: 0
|
|
|
|
|
|
- - uses: actions/cache/restore@v3
|
|
|
+ - uses: actions/cache/restore@v4
|
|
|
id: ccache-cache
|
|
|
with:
|
|
|
path: ${{ github.workspace }}/.ccache
|
|
@@ -216,26 +216,26 @@ jobs:
|
|
|
package: ${{ fromJSON(needs.check-event.outputs.package) }}
|
|
|
|
|
|
- name: Upload Source Tarball 🗜️
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
if: ${{ ! always() }}
|
|
|
with:
|
|
|
name: obs-studio-*-sources-${{ needs.check-event.outputs.commitHash }}
|
|
|
path: ${{ github.workspace }}/build_x86_64/obs-studio-*-sources.*
|
|
|
|
|
|
- name: Upload Artifacts 📡
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
with:
|
|
|
name: obs-studio-ubuntu-22.04-x86_64-${{ needs.check-event.outputs.commitHash }}
|
|
|
path: ${{ github.workspace }}/build_x86_64/obs-studio-*-x86_64-linux-gnu.*
|
|
|
|
|
|
- name: Upload Debug Symbol Artifacts 🪲
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
if: ${{ fromJSON(needs.check-event.outputs.package) }}
|
|
|
with:
|
|
|
name: obs-studio-ubuntu-22.04-x86_64-${{ needs.check-event.outputs.commitHash }}-dbgsym
|
|
|
path: ${{ github.workspace }}/build_x86_64/obs-studio-*-x86_64-linux-gnu-dbgsym.ddeb
|
|
|
|
|
|
- - uses: actions/cache/save@v3
|
|
|
+ - uses: actions/cache/save@v4
|
|
|
if: github.event_name != 'pull_request' && steps.ccache-cache.outputs.cache-hit != 'true'
|
|
|
with:
|
|
|
path: ${{ github.workspace }}/.ccache
|
|
@@ -252,7 +252,7 @@ jobs:
|
|
|
image: bilelmoussaoui/flatpak-github-actions:kde-6.5
|
|
|
options: --privileged
|
|
|
steps:
|
|
|
- - uses: actions/checkout@v3
|
|
|
+ - uses: actions/checkout@v4
|
|
|
with:
|
|
|
submodules: recursive
|
|
|
fetch-depth: 0
|
|
@@ -325,12 +325,12 @@ jobs:
|
|
|
run:
|
|
|
shell: pwsh
|
|
|
steps:
|
|
|
- - uses: actions/checkout@v3
|
|
|
+ - uses: actions/checkout@v4
|
|
|
with:
|
|
|
submodules: recursive
|
|
|
fetch-depth: 0
|
|
|
|
|
|
- - uses: actions/cache@v3
|
|
|
+ - uses: actions/cache@v4
|
|
|
id: ccache-cache
|
|
|
if: github.event_name == 'pull_request'
|
|
|
with:
|
|
@@ -363,7 +363,7 @@ jobs:
|
|
|
package: ${{ fromJSON(needs.check-event.outputs.package) }}
|
|
|
|
|
|
- name: Upload Artifacts 📡
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
with:
|
|
|
name: obs-studio-windows-x64-${{ needs.check-event.outputs.commitHash }}
|
|
|
path: ${{ github.workspace }}/build_x64/obs-studio-*-windows-x64.zip
|