diff --git a/.github/actions/setup-haxe/action.yml b/.github/actions/setup-haxe/action.yml
index e6a309b9e..a27d8bc68 100644
--- a/.github/actions/setup-haxe/action.yml
+++ b/.github/actions/setup-haxe/action.yml
@@ -78,6 +78,7 @@ runs:
       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
+      echo "TIMER_DONE=$(date +%s)" >> "$GITHUB_ENV"
 
   # by default use a shared hxcpp cache
   - if: ${{ inputs.hxcpp-cache == 'true' }}
diff --git a/.github/workflows/build-game.yml b/.github/workflows/build-game.yml
index e13908db1..b262b08df 100644
--- a/.github/workflows/build-game.yml
+++ b/.github/workflows/build-game.yml
@@ -107,7 +107,6 @@ jobs:
       run: |
         git config --global url.https://x-access-token:${{ steps.app_token.outputs.token }}@github.com/.insteadOf https://github.com/
         haxelib --global run hmm install -q
-        echo "TIMER_DONE=$(date +%s)" >> "$GITHUB_ENV"
 
     - if: ${{ matrix.target != 'html5' }}
       name: Restore hxcpp cache