ci: GitHub Actions does not correctly transform github.workspace here

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2023-05-14 04:26:11 +02:00 committed by Xaymar
parent 59d3781269
commit 4b0e00bc54

View file

@ -115,7 +115,7 @@ jobs:
run: | run: |
# Apply patches to obs-studio # Apply patches to obs-studio
pushd "${{ github.workspace }}/third-party/obs-studio" > /dev/null 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}''..." echo "Applying patch '${f}''..."
[ -e "$f" ] || continue [ -e "$f" ] || continue
git apply "$f" git apply "$f"
@ -257,7 +257,7 @@ jobs:
run: | run: |
# Apply patches to obs-studio # Apply patches to obs-studio
pushd "${{ github.workspace }}/third-party/obs-studio" > /dev/null 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}''..." echo "Applying patch '${f}''..."
[ -e "$f" ] || continue [ -e "$f" ] || continue
git apply "$f" git apply "$f"
@ -405,7 +405,7 @@ jobs:
run: | run: |
# Apply patches to obs-studio # Apply patches to obs-studio
pushd "${{ github.workspace }}/third-party/obs-studio" > /dev/null 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}''..." echo "Applying patch '${f}''..."
[ -e "$f" ] || continue [ -e "$f" ] || continue
git apply "$f" git apply "$f"