hopefully fixes permission problems

This commit is contained in:
otavepto 2024-06-16 17:32:11 +03:00
parent 4204b356d7
commit a9f90f2894

View File

@ -22,6 +22,12 @@ jobs:
- name: Checkout branch
uses: actions/checkout@v4
# env
- name: Install env
shell: bash
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
run: sudo chmod 777 recreate_venv_linux.sh && sudo ./recreate_venv_linux.sh
### fix folder permissions! not sure why this fails
# nested subdirs "build/linux/release" cause permission problems
- name: Give all permissions to repo folder
@ -29,12 +35,6 @@ jobs:
working-directory: ${{ github.workspace }}
run: sudo chmod -R 777 "${{ github.workspace }}"
# env
- name: Install env
shell: bash
working-directory: "${{ env.SCRIPT_BASE_DIR }}"
run: sudo chmod 777 recreate_venv_linux.sh && sudo ./recreate_venv_linux.sh
# build
- name: Rebuild
shell: bash