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: |
# 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"