hopefully fixes permission problems

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

View File

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