From 8774640c27fed29db548cd5aa8d9040164b32b9a Mon Sep 17 00:00:00 2001 From: 0FL01 Date: Tue, 22 Jul 2025 07:32:47 +0300 Subject: [PATCH] add step for fix perm --- .github/workflows/flatpak-build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/flatpak-build.yml b/.github/workflows/flatpak-build.yml index 8b0f271dae..31776a9faa 100644 --- a/.github/workflows/flatpak-build.yml +++ b/.github/workflows/flatpak-build.yml @@ -12,6 +12,14 @@ jobs: - name: Checkout main repository uses: actions/checkout@v4 + - name: Force clean git cache permissions + run: | + if [ -d "./git-cache" ]; then + sudo find ./git-cache -type d -exec chmod 755 {} \; + sudo find ./git-cache -type f -exec chmod 644 {} \; + sudo chown -R $(id -u):$(id -g) ./git-cache || true + fi + - name: Cache Git dependencies id: cache-git-repos uses: actions/cache@v4