Skip to content

Commit

Permalink
build(flatpak): fix flatpak apt dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Tsai committed Oct 9, 2024
1 parent 20c3e9e commit 992442e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: cargo check

build-linux:
if: ${{ github.event_name != 'pull_request' }}
# if: ${{ github.event_name != 'pull_request' }} # TODO: Uncomment this line after test
name: Build [Linux]
runs-on: ubuntu-latest
env:
Expand All @@ -70,8 +70,9 @@ jobs:
uses: dsherret/rust-toolchain-file@v1

- name: Install flatpak dependencies
if: ${{ github.event_name == 'schedule' }}
# if: ${{ github.event_name == 'schedule' }} # TODO: Uncomment this line after test
run: |
sudo apt-get update
sudo apt-get install -y flatpak flatpak-builder
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
sudo flatpak install -y --noninteractive flathub org.freedesktop.Platform//23.08
Expand Down

0 comments on commit 992442e

Please sign in to comment.