sudo make me a sandwhich

This commit is contained in:
Micah Lee 2022-10-05 17:44:49 -07:00
parent bb1a57a867
commit c37087fc4c
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -323,10 +323,10 @@ jobs:
- name: Move cache from home to root - name: Move cache from home to root
run: | run: |
mkdir -p /root/.cache sudo mkdir -p /root/.cache
if [[ -d "~/snapcraft-cache" ]]; then if [[ -d "~/snapcraft-cache" ]]; then
mv ~/snapcraft-cache /root/.cache/snapcraft sudo mv ~/snapcraft-cache /root/.cache/snapcraft
chown -R root:root /root/.cache/snapcraft sudo chown -R root:root /root/.cache/snapcraft
echo "moved cache from home to root" echo "moved cache from home to root"
fi fi
@ -335,8 +335,8 @@ jobs:
- name: Move cache root to home - name: Move cache root to home
run: | run: |
mv /root/.cache/snapcraft ~/snapcraft-cache sudo mv /root/.cache/snapcraft ~/snapcraft-cache
chown -R $USER:$USER ~/snapcraft-cache sudo chown -R $USER:$USER ~/snapcraft-cache
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with: