mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-25 07:19:41 -05:00
Add cache to snap build
This commit is contained in:
parent
0631d14d78
commit
d8d936b9fa
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -261,14 +261,21 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Restore cache - lxd
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: /var/snap/lxd/common/lxd
|
||||
key: snap-lxd-${{ hashFiles('snap/snapcraft.yaml') }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo lxd init --auto
|
||||
sudo lxc storage list
|
||||
sudo snap install snapcraft --classic
|
||||
sudo ufw disable
|
||||
|
||||
- name: Build snap
|
||||
run: sudo snapcraft --use-lxd
|
||||
run: sudo snapcraft
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user