mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Try fixing snap caching
This commit is contained in:
parent
cd660e21c5
commit
db3fb2967e
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -261,12 +261,22 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
# Change permissions before caching
|
||||
- name: Set permissions for caching
|
||||
run: sudo chmod -R 777 /var/snap/lxd/common/lxd/storage-pools/default
|
||||
continue-on-error: true
|
||||
|
||||
- name: Restore cache - lxd
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: /var/snap/lxd/common/lxd
|
||||
path: /var/snap/lxd/common/lxd/storage-pools/default
|
||||
key: snap-lxd-${{ hashFiles('snap/snapcraft.yaml') }}
|
||||
|
||||
# Restore original permissions after caching
|
||||
- name: Restore permissions after caching
|
||||
run: sudo chmod -R 755 /var/snap/lxd/common/lxd/storage-pools/default
|
||||
continue-on-error: true
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo lxd init --auto
|
||||
|
Loading…
Reference in New Issue
Block a user