From 4b0e00bc544148e7433f5d08164d4a080e431392 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sun, 14 May 2023 04:26:11 +0200 Subject: [PATCH] ci: GitHub Actions does not correctly transform github.workspace here --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 920d68e..f26088e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -115,7 +115,7 @@ jobs: run: | # Apply patches to obs-studio pushd "${{ github.workspace }}/third-party/obs-studio" > /dev/null - for f in ${{ github.workspace }}/patches/obs-studio/*.patch; do + for f in ../../patches/obs-studio/*.patch; do echo "Applying patch '${f}''..." [ -e "$f" ] || continue git apply "$f" @@ -257,7 +257,7 @@ jobs: run: | # Apply patches to obs-studio pushd "${{ github.workspace }}/third-party/obs-studio" > /dev/null - for f in ${{ github.workspace }}/patches/obs-studio/*.patch; do + for f in ../../patches/obs-studio/*.patch; do echo "Applying patch '${f}''..." [ -e "$f" ] || continue git apply "$f" @@ -405,7 +405,7 @@ jobs: run: | # Apply patches to obs-studio pushd "${{ github.workspace }}/third-party/obs-studio" > /dev/null - for f in ${{ github.workspace }}/patches/obs-studio/*.patch; do + for f in ../../patches/obs-studio/*.patch; do echo "Applying patch '${f}''..." [ -e "$f" ] || continue git apply "$f"