From de640698c16114fd4fef2b4a6800767d4b9d7415 Mon Sep 17 00:00:00 2001
From: icenine451 <benjamin.r.shelton@protonmail.com>
Date: Thu, 13 Apr 2023 11:27:37 -0400
Subject: [PATCH 1/2] Update automation paths for action runner

---
 automation_tools/update_sha.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/automation_tools/update_sha.sh b/automation_tools/update_sha.sh
index 032a806a..27e2f287 100644
--- a/automation_tools/update_sha.sh
+++ b/automation_tools/update_sha.sh
@@ -3,8 +3,8 @@
 # For the file paths to work correctly, call this script with this command from the cloned repo folder root:
 # sh automation_tools/update_sha.sh
 
-rd_manifest=net.retrodeck.retrodeck.yml
-sha_update_list=automation_tools/sha_to_update.cfg
+rd_manifest=${GITHUB_WORKSPACE}/net.retrodeck.retrodeck.yml
+sha_update_list=${GITHUB_WORKSPACE}/automation_tools/sha_to_update.cfg
 
 while IFS="^" read -r url placeholder
 do

From 9b0e85755772805be37d6a21026f89135f46afe9 Mon Sep 17 00:00:00 2001
From: icenine451 <benjamin.r.shelton@protonmail.com>
Date: Thu, 13 Apr 2023 11:28:08 -0400
Subject: [PATCH 2/2] More action runner pathing

---
 .github/workflows/cooker-selfhosted.yml | 2 +-
 .github/workflows/main-selfhosted.yml   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/cooker-selfhosted.yml b/.github/workflows/cooker-selfhosted.yml
index 4337b89c..67c58423 100644
--- a/.github/workflows/cooker-selfhosted.yml
+++ b/.github/workflows/cooker-selfhosted.yml
@@ -44,7 +44,7 @@ jobs:
           org.freedesktop.Sdk.Extension.dotnet6/x86_64/21.08
           echo ${GITHUB_WORKSPACE} #DEBUG
           df -h ${GITHUB_WORKSPACE} #DEBUG
-          sh automation_tools/update_sha.sh # Run SHA placehold replacement script for dynamic archives
+          sh ${GITHUB_WORKSPACE}/automation_tools/update_sha.sh # Run SHA placehold replacement script for dynamic archives
 
       - name: Build flatpak
         run: |
diff --git a/.github/workflows/main-selfhosted.yml b/.github/workflows/main-selfhosted.yml
index c1d31da9..c3fa9dd4 100644
--- a/.github/workflows/main-selfhosted.yml
+++ b/.github/workflows/main-selfhosted.yml
@@ -42,7 +42,7 @@ jobs:
           io.qt.qtwebengine.BaseApp/x86_64/6.3 \
           org.freedesktop.Sdk.Extension.llvm13 \
           org.freedesktop.Sdk.Extension.dotnet6/x86_64/21.08
-          sh automation_tools/update_sha.sh # Run SHA placehold replacement script for dynamic archives
+          sh ${GITHUB_WORKSPACE}/automation_tools/update_sha.sh # Run SHA placehold replacement script for dynamic archives
 
       - name: Build flatpak
         run: |