mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-12 01:48:21 +02:00
only install snapcraft if needed
This commit is contained in:
parent
62f654cf86
commit
b3512b431f
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user