This repository has been archived by the owner on May 28, 2023. It is now read-only.
forked from AymanDev/YouTube-Music-Client
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
52 lines (45 loc) · 1.63 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
sudo: false
language: node_js
node_js: "15"
install:
- yarn
cache:
directories:
- node_modules
- app/node_modules
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
- $HOME/.npm/_prebuilds
env:
global:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
jobs:
include:
- stage: Deploy Windows & Mac
if: tag IS present
os: osx
osx_image: xcode10.2
script:
- rm -f package-lock.json
- yarn dist:mw
- ls dist/
before_cache: rm -rf $HOME/.cache/electron-builder/wine
- stage: Deploy Linux
if: tag IS present
os: linux
dist: xenial
script:
- rm -f package-lock.json
- yarn dist:linux
- ls dist/
deploy:
provider: releases
api_key:
secure: "CQEV0xMIgFp5nxiWbzNFV1l+QHMBJ/rKaLmCckleU0sCtnwrTxiHETL4XCAgvHtTDH66vJPXIXoKXiQTH/5DDZqBxshUy6YaRpt1ttBJBzjX8ACXH3V85Gs9GV3o5nr5dbCRQnCpV1niFgLr0eViFkz07oa7pQ2keVmkZU2nJgL/2C0/bCxsdJE4kpowmCHAZBDUE3B8Keq49IXmrGpxOCFngMzuFD/5SMhnOoqMHxbzQk4GEq0mVksm5UYx8cFimDw0wGuPPPWle9wh+/vH3A3zOKn1K8cBiklWp6Q8dqjo+HcRT2Z4so5T600DeU2FRpYj6jcINb8kZDbdVHWI+MTvs/CeIbHpLj0obCLhFxtYuQ9eBcjjy3F0dU3G1g2eoaowBMID/9CdMEUmbQAOluW9vSzlYxiZ37ZJXqxsJlAeh297VdXYGQXp6LlapOJkOiEeib0GRP+M2nhHpQley85CAFoAWsZtyqlrMVvK169HMmw7SrPNep/TRxloknVRexKGY+85NWC4xiR1GyQXbrlR8/Nks86rv98/DhBZdt/A0zPw2KLWsBCwiGo8ylq8/4IWS2zPsrXg2JH7CgktxyzbPclG/IR31LUVS1ItmSFW3YNysfEwfv4DfCFHL8Q9Chh3LukyRfG8ykPbrnEXtSXNjSM3wF5dX5DZydYAkGw="
file_glob: true
file: "dist/YouTube-Music-Client*.{zip,exe,AppImage,dmg}"
skip_cleanup: true
on:
tags: true
draft: true