From b38d0026fd21cce3efef94d94093f31023fa86ce Mon Sep 17 00:00:00 2001
From: Hazel <hazel@farfrom.earth>
Date: Wed, 24 Apr 2024 21:58:21 +0100
Subject: [PATCH] i have no idea man

---
 .github/actions/setup-haxe/action.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/actions/setup-haxe/action.yml b/.github/actions/setup-haxe/action.yml
index 5bed10db8..e6a309b9e 100644
--- a/.github/actions/setup-haxe/action.yml
+++ b/.github/actions/setup-haxe/action.yml
@@ -75,7 +75,9 @@ runs:
     name: Install dependencies
     shell: bash
     run: |
+      git config --global url.https://x-access-token:${{ inputs.gh-token }}@github.com/.insteadOf https://github.com/
       haxelib --global run hmm install -q
+      git config --global --unset url.https://x-access-token:${{ inputs.gh-token }}@github.com/.insteadOf
 
   # by default use a shared hxcpp cache
   - if: ${{ inputs.hxcpp-cache == 'true' }}