aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",