From c90942f3812c5865d2ab0c36550fc492ddb0085d Mon Sep 17 00:00:00 2001
From: Lucas Machado Zainote <95252125+lucasmz1@users.noreply.github.com>
Date: Thu, 26 Oct 2023 20:47:11 -0300
Subject: [PATCH] Update blank.yml

---
 .github/workflows/blank.yml | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml
index 4c04874..9599337 100644
--- a/.github/workflows/blank.yml
+++ b/.github/workflows/blank.yml
@@ -50,11 +50,6 @@ jobs:
           --slave   /usr/bin/g++ g++ /usr/bin/g++-$version
           wget -q "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage" -O linuxdeploy ; chmod a+x linuxdeploy
           wget -q "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" -O appimagetool ; chmod a+x appimagetool
-          git fetch --prune --unshallow
-          echo "GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV
-          echo "GIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
-          echo "GIT_TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
-          echo "CURR_DATE=$(date +%Y-%m-%d)" >> $GITHUB_ENV
           git clone https://github.com/dolphin-emu/dolphin.git dolphin-emu
           mkdir lucas/
           mkdir lucas/usr/
@@ -64,11 +59,21 @@ jobs:
           cp -r /usr/lib/x86_64-linux-gnu/qt6/plugins/ /home/runner/work/Dolphin_emu_Appimage/Dolphin_emu_Appimage/lucas/usr/lib/
           cp dolphin-emu.desktop dolphin-emu.png AppRun libunionpreload.so lucas/
           cd ./dolphin-emu
-          git submodule update --init --recursive
-          git pull origin
           git checkout tags/5.0
+          git submodule update --init --recursive \
+          Externals/mGBA \
+          Externals/spirv_cross \
+          Externals/zlib-ng \
+          Externals/libspng \
+          Externals/VulkanMemoryAllocator \
+          Externals/cubeb \
+          Externals/implot \
+          Externals/gtest \
+          Externals/rcheevos \
+          Externals/fmt \
+          && git pull --recurse-submodules
           mkdir Build && cd Build
-          cmake .. -G Ninja -DLINUX_LOCAL_DEV=true -DENABLE_TESTS=OFF -Wno-dev -DCMAKE_INSTALL_PREFIX="/home/runner/work/Dolphin_emu_Appimage/Dolphin_emu_Appimage/lucas/usr/"
+          cmake .. -G Ninja -DLINUX_LOCAL_DEV=true -DCMAKE_C_COMPILER=gcc-13 -DCMAKE_CXX_COMPILER=g++-13 -DENABLE_TESTS=OFF -Wno-dev -DCMAKE_INSTALL_PREFIX="/home/runner/work/Dolphin_emu_Appimage/Dolphin_emu_Appimage/lucas/usr/"
           ninja
           ninja install
           cd ..