From 1a7c2745421d6b1bbfae2179c0286eb51a6ba1e5 Mon Sep 17 00:00:00 2001
From: XargonWan <6771419+XargonWan@users.noreply.github.com>
Date: Sun, 23 Oct 2022 09:48:10 +0200
Subject: [PATCH] Allowing git protocols

---
 .github/workflows/cooker-selfhosted.yml | 2 +-
 .github/workflows/main-selfhosted.yml   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/cooker-selfhosted.yml b/.github/workflows/cooker-selfhosted.yml
index 1feea499..ba84dbac 100644
--- a/.github/workflows/cooker-selfhosted.yml
+++ b/.github/workflows/cooker-selfhosted.yml
@@ -45,7 +45,7 @@ jobs:
       - name: Build flatpak
         run: |
           #git config --global protocol.git.allow
-          git config --global protocol.file.allow
+          git config --global protocol.allow always
           flatpak-builder --user --force-clean --install-deps-from=flathub --install-deps-from=flathub-beta --repo=${GITHUB_WORKSPACE}/local ${GITHUB_WORKSPACE}/retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
 
       - name: Create Artifact for flathub
diff --git a/.github/workflows/main-selfhosted.yml b/.github/workflows/main-selfhosted.yml
index 4329cefa..d6d839ed 100644
--- a/.github/workflows/main-selfhosted.yml
+++ b/.github/workflows/main-selfhosted.yml
@@ -45,7 +45,7 @@ jobs:
       - name: Build flatpak
         run: |
           #git config --global protocol.git.allow
-          git config --global protocol.file.allow
+          git config --global protocol.allow always
           flatpak-builder --user --force-clean --install-deps-from=flathub --install-deps-from=flathub-beta --repo=${GITHUB_WORKSPACE}/local ${GITHUB_WORKSPACE}/retrodeck-flatpak-main net.retrodeck.retrodeck.yml
 
       - name: Create Artifact for flathub