diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2021-08-16 17:15:58 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2021-08-16 17:15:58 -0400 |
| commit | fc5e0d427c1ebec2d51c475af9f7db4ace7b5e3c (patch) | |
| tree | 7842371fceec0b72952d7be5ce373e1e799e8f45 /.github/workflows | |
| parent | 38799d5957d7446d1cbc3cf612f97501d57686e3 (diff) | |
| download | YouTube-TV-Client-fc5e0d427c1ebec2d51c475af9f7db4ace7b5e3c.tar.gz YouTube-TV-Client-fc5e0d427c1ebec2d51c475af9f7db4ace7b5e3c.tar.bz2 YouTube-TV-Client-fc5e0d427c1ebec2d51c475af9f7db4ace7b5e3c.zip | |
Snap support
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 12 |
1 files changed, 10 insertions, 2 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 |
