Skip to content

Commit

Permalink
try to avoid root ownership conflict with the main workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
ajm-asiaa committed Dec 14, 2023
1 parent 5a56700 commit 38bebf2
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: ci

- name: Fix ownership
run: |
chown -R $(id -u):$(id -g) $PWD
chown -R $(id -u):$(id -g) ${{ github.workspace }}/ci
- name: System information
shell: bash
Expand Down Expand Up @@ -156,10 +158,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: ci

- name: Fix ownership
run: |
chown -R $(id -u):$(id -g) $PWD
chown -R $(id -u):$(id -g) ${{ github.workspace }}/ci
- name: System information
shell: bash
Expand Down

0 comments on commit 38bebf2

Please sign in to comment.