From 7e624af6e63d2118ad181c4f715b74ba00decff6 Mon Sep 17 00:00:00 2001 From: Hazel Date: Wed, 24 Apr 2024 21:18:23 +0100 Subject: [PATCH] i swear to grub --- .github/actions/setup-haxe/action.yml | 15 +-------------- .github/workflows/build-game.yml | 7 ------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/.github/actions/setup-haxe/action.yml b/.github/actions/setup-haxe/action.yml index c92964392..5bed10db8 100644 --- a/.github/actions/setup-haxe/action.yml +++ b/.github/actions/setup-haxe/action.yml @@ -75,20 +75,7 @@ runs: name: Install dependencies shell: bash run: | - key="credential.https://github.com" - git config --list --show-origin --show-scope - if [ ! -z "${{ inputs.gh-token }}" ]; then - git config --global "credential.helper" "store --file=/tmp/git-credentials" - git config --global "$key.username" "git" - git config --global "$key.password" "${{ inputs.gh-token }}" - fi - haxelib --debug --global run hmm install - if [ ! -z "${{ inputs.gh-token }}" ]; then - git config --global --unset "credential.helper" - git config --global --unset "$key.username" - git config --global --unset "$key.password" - fi - echo "TIMER_DONE=$(date +%s)" >> "$GITHUB_ENV" + haxelib --global run hmm install -q # 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 cb4745d40..74fd0715d 100644 --- a/.github/workflows/build-game.yml +++ b/.github/workflows/build-game.yml @@ -104,15 +104,8 @@ jobs: - if: ${{ steps.cache-hmm.outputs.cache-hit != 'true' }} name: Install dependencies run: | - key="credential.https://github.com" - git config --global "credential.helper" "store --file=/tmp/git-credentials" - git config --global "$key.username" "git" - git config --global "$key.password" "${{ steps.app_token.outputs.token }}" 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 "$key.username" - git config --global --unset "$key.password" - if: ${{ matrix.target != 'html5' }} name: Restore hxcpp cache