Former-commit-id: 5e0733aaf4e067f57f3568b98c780401b1e7fb92
This commit is contained in:
troyeguo
2021-04-08 22:01:55 +08:00
parent ef3f8353ac
commit c29b43c467

View File

@@ -5,8 +5,8 @@ branches:
- master
image:
- Visual Studio 2019
- macos
# - Visual Studio 2019
# - macos
- Ubuntu
stack: node 10
@@ -23,8 +23,7 @@ init:
if [ "${APPVEYOR_BUILD_WORKER_IMAGE}" == "Ubuntu" ]
then
sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils
sudo apt-get -y install snapd
sudo snap -y install snapcraft --classic
sudo apt-get install snapd
fi
install:
@@ -32,6 +31,18 @@ install:
- npm install
- node --version
before_build:
- node --version
- npm --version
# Get new $SNAP_TOKEN with:
# $ snapcraft export-login --snaps bw --acls package_push,package_release -
- sh: |
if [ "${SNAP_TOKEN}" != "" ]
then
sudo snap install snapcraft --classic
echo "$SNAP_TOKEN" | snapcraft login --with -
fi
build_script:
- npm run release