mirror of
https://github.com/bitwarden/desktop
synced 2026-01-05 01:53:32 +00:00
only install snapcraft if needed
This commit is contained in:
@@ -11,7 +11,6 @@ stack: node 10
|
||||
init:
|
||||
- sh: sudo apt-get update
|
||||
- sh: sudo apt-get -y install pkg-config libxss-dev libsecret-1-dev rpm
|
||||
- sh: sudo snap install snapcraft --classic
|
||||
- ps: |
|
||||
if($isWindows) {
|
||||
Install-Product node 10
|
||||
@@ -38,6 +37,7 @@ before_build:
|
||||
- sh: |
|
||||
if [ "${SNAP_TOKEN}" != "" -a "${PROD_DEPLOY}" == "true" ]
|
||||
then
|
||||
sudo snap install snapcraft --classic
|
||||
echo "$SNAP_TOKEN" | snapcraft login --with -
|
||||
fi
|
||||
- ps: |
|
||||
|
||||
Reference in New Issue
Block a user