mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 19:25:35 +08:00
since that worked, give all permissions immediately after cloning, for all Linux workflows
This commit is contained in:
parent
a710c39662
commit
806879e79e
@ -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 }}"
|
||||
|
20
.github/workflows/build-linux.yml
vendored
20
.github/workflows/build-linux.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user