mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-24 06:49:44 -05:00
Use docker for snapcraft
This commit is contained in:
parent
d54b51e7b1
commit
fa5d5b7cdd
@ -209,19 +209,16 @@ jobs:
|
||||
path: ~/onionshare-macos.zip
|
||||
|
||||
build-snapcraft:
|
||||
machine:
|
||||
image: ubuntu-2004:current
|
||||
docker:
|
||||
- image: snapcore/snapcraft:edge
|
||||
working_directory: ~/repo
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Install snapcraft
|
||||
command: sudo snap install snapcraft --classic
|
||||
- run:
|
||||
name: Build the snap
|
||||
command: |
|
||||
cd ~/repo
|
||||
cd ~/repo/desktop
|
||||
snapcraft
|
||||
mv onionshare-*_amd64.snap onionshare_amd64.snap
|
||||
mv onionshare-*_amd64.snap ~/onionshare_amd64.snap
|
||||
- store_artifacts:
|
||||
path: ~/repo/onionshare_amd64.snap
|
||||
path: ~/onionshare_amd64.snap
|
||||
|
Loading…
Reference in New Issue
Block a user