From 77bb8fb5d665cfca156e61058d240fc6d6a7bf5a Mon Sep 17 00:00:00 2001
From: Hazel <hazel@farfrom.earth>
Date: Wed, 24 Apr 2024 21:39:41 +0100
Subject: [PATCH] AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

---
 .github/workflows/build-game.yml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/.github/workflows/build-game.yml b/.github/workflows/build-game.yml
index 5786596a3..714c1c85c 100644
--- a/.github/workflows/build-game.yml
+++ b/.github/workflows/build-game.yml
@@ -105,14 +105,9 @@ jobs:
     - if: ${{ steps.cache-hmm.outputs.cache-hit != 'true' }}
       name: Install dependencies
       run: |
-        git config --global "credential.helper" "store --file=/tmp/git-credentials"
-        git config --global "credential.https://github.com.username" "x-access-token"
-        git config --global "credential.https://github.com.password" "${{ steps.app_token.outputs.token }}"
+        git config --global url.https://x-access-token:${{ steps.app_token.outputs.token }}@github.com/.insteadOf https://github.com/
         haxelib --debug git funkVis https://github.com/FunkinCrew/funkVis backend-rework
         haxelib --global run hmm install -q
-        git config --global --unset "credential.helper"
-        git config --global --unset "credential.https://github.com.username"
-        git config --global --unset "credential.https://github.com.password"
 
     - if: ${{ matrix.target != 'html5' }}
       name: Restore hxcpp cache