aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-08-16 17:15:58 -0400
committerAndrew Lee <alee14498@protonmail.com>2021-08-16 17:15:58 -0400
commitfc5e0d427c1ebec2d51c475af9f7db4ace7b5e3c (patch)
tree7842371fceec0b72952d7be5ce373e1e799e8f45
parent38799d5957d7446d1cbc3cf612f97501d57686e3 (diff)
downloadYouTube-TV-Client-fc5e0d427c1ebec2d51c475af9f7db4ace7b5e3c.tar.gz
YouTube-TV-Client-fc5e0d427c1ebec2d51c475af9f7db4ace7b5e3c.tar.bz2
YouTube-TV-Client-fc5e0d427c1ebec2d51c475af9f7db4ace7b5e3c.zip
Snap support
-rw-r--r--.github/workflows/build.yml12
-rw-r--r--package.json2
2 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9eaedd7..31a485e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -13,9 +13,17 @@ jobs:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
+ - name: Install Snapcraft
+ uses: samuelmeuli/action-snapcraft@v1
+ # Only install Snapcraft on Ubuntu
+ if: startsWith(matrix.os, 'ubuntu')
+ with:
+ # Log in to Snap Store
+ snapcraft_token: ${{ secrets.snapcraft_token }}
+
- name: Installing dependencies for Ubuntu
- if: runner.os == 'Linux'
- run: sudo apt update && sudo apt install --no-install-recommends -y libopenjp2-tools rpm libarchive-tools && sudo snap install snapcraft --classic
+ if: startsWith(matrix.os, 'ubuntu')
+ run: sudo apt update && sudo apt install --no-install-recommends -y libopenjp2-tools rpm libarchive-tools
- name: Check out Git repository
uses: actions/checkout@v1
diff --git a/package.json b/package.json
index 5186e43..d7cc322 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "youtube-tv-client",
"description": "A web client where it goes to youtube.com/tv",
- "version": "2.0.0",
+ "version": "2.0.1",
"main": "index.js",
"author": "Andrew Lee <alee14498@protonmail.com>",
"license": "GPL-3.0",