From fc5e0d427c1ebec2d51c475af9f7db4ace7b5e3c Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 16 Aug 2021 17:15:58 -0400 Subject: Snap support --- .github/workflows/build.yml | 12 ++++++++++-- package.json | 2 +- 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 ", "license": "GPL-3.0", -- cgit v1.2.3