mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-20 05:22:20 -04:00
sudo make me a sandwhich
This commit is contained in:
parent
bb1a57a867
commit
c37087fc4c
1 changed files with 5 additions and 5 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -323,10 +323,10 @@ jobs:
|
|||
|
||||
- name: Move cache from home to root
|
||||
run: |
|
||||
mkdir -p /root/.cache
|
||||
sudo mkdir -p /root/.cache
|
||||
if [[ -d "~/snapcraft-cache" ]]; then
|
||||
mv ~/snapcraft-cache /root/.cache/snapcraft
|
||||
chown -R root:root /root/.cache/snapcraft
|
||||
sudo mv ~/snapcraft-cache /root/.cache/snapcraft
|
||||
sudo chown -R root:root /root/.cache/snapcraft
|
||||
echo "moved cache from home to root"
|
||||
fi
|
||||
|
||||
|
@ -335,8 +335,8 @@ jobs:
|
|||
|
||||
- name: Move cache root to home
|
||||
run: |
|
||||
mv /root/.cache/snapcraft ~/snapcraft-cache
|
||||
chown -R $USER:$USER ~/snapcraft-cache
|
||||
sudo mv /root/.cache/snapcraft ~/snapcraft-cache
|
||||
sudo chown -R $USER:$USER ~/snapcraft-cache
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue