1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-02-04 02:38:16 +00:00

i swear to grub

This commit is contained in:
Hazel 2024-04-24 21:18:23 +01:00
parent 72131af794
commit 7e624af6e6
2 changed files with 1 additions and 21 deletions

View file

@ -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' }}

View file

@ -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