mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-09-06 20:13:12 +02:00
add step for fix perm
This commit is contained in:
parent
bb27493248
commit
8774640c27
1 changed files with 8 additions and 0 deletions
8
.github/workflows/flatpak-build.yml
vendored
8
.github/workflows/flatpak-build.yml
vendored
|
@ -12,6 +12,14 @@ jobs:
|
||||||
- name: Checkout main repository
|
- name: Checkout main repository
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Cache Git dependencies
|
||||||
id: cache-git-repos
|
id: cache-git-repos
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
|
Loading…
Add table
Reference in a new issue