Update Flatpak dependencies #398
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
pull_request: | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
DEBIAN_FRONTEND=noninteractive sudo apt-get update -y | |
git config --global protocol.file.allow always | |
sudo apt-get install --no-install-recommends -y \ | |
icoutils \ | |
flatpak \ | |
flatpak-builder \ | |
elfutils | |
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | |
- name: Cache Flatpak builder | |
id: cache-flatpak-builder | |
uses: actions/cache@v4 | |
with: | |
path: .flatpak-builder | |
key: ${{ runner.os }}-flatpak-builder-${{ github.workflow }} | |
- name: Build Flatpak | |
run: | | |
./build.sh |