diff --git a/.github/workflows/build-gen_emu_config-linux.yml b/.github/workflows/build-gen_emu_config-linux.yml index b206ec1d..4c370118 100644 --- a/.github/workflows/build-gen_emu_config-linux.yml +++ b/.github/workflows/build-gen_emu_config-linux.yml @@ -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 }}" diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index c290a1a6..6df5bab5 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -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