Move away from deprecated pkg_resources #162
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 flatpack package | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build flatpak | |
steps: | |
- name: Check out sources | |
uses: actions/checkout@v2 | |
- name: Set up flatpak build tools | |
run: | | |
set -e -u -x | |
sudo apt update | |
sudo apt install flatpak flatpak-builder | |
sudo flatpak remote-add --if-not-exists \ | |
flathub https://flathub.org/repo/flathub.flatpakrepo | |
sudo flatpak install --assumeyes flathub \ | |
org.freedesktop.Platform//21.08 org.freedesktop.Sdk//21.08 | |
sudo flatpak install --assumeyes flathub org.freedesktop.appstream-glib | |
- name: Verify metadata | |
run: | | |
flatpak run org.freedesktop.appstream-glib \ | |
validate io.github.nicolasbock.ebuildtester.metainfo.xml | |
- name: Build flatpak | |
run: make flatpak |