Returned selective chown.
This commit is contained in:
parent
d529a19ef4
commit
403fe83da2
1 changed files with 10 additions and 6 deletions
16
.github/workflows/docs.yml
vendored
16
.github/workflows/docs.yml
vendored
|
@ -22,7 +22,11 @@ jobs:
|
|||
- uses: actions/checkout@v1
|
||||
- name: Grant All Perms on /usr/local/etc/roswell
|
||||
# This makes cache restoration possible
|
||||
run: sudo chown -R "${USER}" /usr/local
|
||||
run: |
|
||||
sudo mkdir -p /usr/local/etc/roswell
|
||||
sudo chown "${USER}" /usr/local/etc/roswell
|
||||
# Here the ros binary will be restored:
|
||||
sudo chown "${USER}" /usr/local/bin
|
||||
# - name: Get Current Month
|
||||
# id: current-month
|
||||
# run: |
|
||||
|
@ -41,6 +45,11 @@ jobs:
|
|||
/usr/local/etc/roswell
|
||||
.qlot
|
||||
key: "${{ runner.os }}-build2-${{ env.cache-name }}-${{ hashFiles('qlfile.lock') }}"
|
||||
- name: Restore Path
|
||||
run: |
|
||||
echo $HOME/.roswell/bin >> $GITHUB_PATH
|
||||
echo .qlot/bin >> $GITHUB_PATH
|
||||
if: steps.cache.outputs.cache-hit == 'true'
|
||||
- name: Check dirs
|
||||
run: |
|
||||
set -x
|
||||
|
@ -50,11 +59,6 @@ jobs:
|
|||
ls /usr/local/etc/roswell
|
||||
ls .qlot
|
||||
if: steps.cache.outputs.cache-hit == 'true'
|
||||
- name: Restore Path
|
||||
run: |
|
||||
echo $HOME/.roswell/bin >> $GITHUB_PATH
|
||||
echo .qlot/bin >> $GITHUB_PATH
|
||||
if: steps.cache.outputs.cache-hit == 'true'
|
||||
- uses: 40ants/setup-lisp@test-cache
|
||||
# if: steps.cache.outputs.cache-hit != 'true'
|
||||
- name: Check dirs again
|
||||
|
|
Loading…
Reference in a new issue