since that worked, give all permissions immediately after cloning, for all Linux workflows

This commit is contained in:
otavepto 2023-12-26 21:19:45 +02:00
parent a710c39662
commit 806879e79e
2 changed files with 21 additions and 6 deletions

View File

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

View File

@ -40,6 +40,13 @@ jobs:
- name: Checkout branch
uses: actions/checkout@v4
### fix folder permissions! not sure why this fails
# nested subdirs "build/linux/release" cause permission problems
- name: Give all permissions for repo folder
shell: bash
working-directory: ${{ github.workspace }}
run: sudo chmod -R 777 "${{ github.workspace }}"
- name: Lookup cache for deps
id: emu-deps-cache-step
uses: actions/cache@v3
@ -76,6 +83,13 @@ jobs:
- name: Checkout branch
uses: actions/checkout@v4
### fix folder permissions! not sure why this fails
# nested subdirs "build/linux/release" cause permission problems
- name: Give all permissions for repo folder
shell: bash
working-directory: ${{ github.workspace }}
run: sudo chmod -R 777 "${{ github.workspace }}"
### deps
- name: Lookup cache for deps
id: emu-deps-cache-step
@ -121,12 +135,6 @@ jobs:
ref: 'third-party/build/linux'
path: "${{env.THIRD_PARTY_BASE_DIR}}/build/linux"
### fix folder permissions! not sure why this fails
- name: Give all permissions for repo folder
shell: bash
working-directory: ${{ github.workspace }}
run: sudo chmod -R 777 "${{ github.workspace }}"
### build (release mode)
- name: Build release mode
shell: bash