From 1e19b26582d128360321765d83c8b9f2f9c6e4ed Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Wed, 24 Feb 2021 23:46:39 +0300 Subject: [PATCH] Use chown instead of chmod. --- .github/workflows/docs.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index db0b240..a3f029c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,13 +22,7 @@ jobs: - uses: actions/checkout@v1 - name: Grant All Perms on /usr/local/etc/roswell # This makes cache restoration possible - run: sudo mkdir /usr/local/etc/roswell && sudo chmod -R a+rwx /usr/local/etc/roswell - - name: Who am I - run: whoami - - name: Who am under SUDO - run: sudo echo `whoami` - - name: USSER under SUDO - run: sudo echo "${USER}" + run: sudo mkdir -p /usr/local/etc/roswell && sudo chown "${USER}" /usr/local/etc/roswell - name: Cache Roswell Setup id: cache uses: actions/cache@v2