Flathub Watcher #2072
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: Flathub Watcher | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
on: | |
schedule: | |
- cron: "0 3 * * 6" | |
jobs: | |
flathub_list_updater: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Flatpak and dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install --no-install-recommends curl jq git flatpak | |
- name: Add Flathub repo | |
run: flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | |
- name: Run Flathub list updater | |
run: bash -x tools/flathub_list_updater.sh |