diff --git a/.github/scripts/archive_eol.py b/.github/scripts/archive_eol.py index 49e7d5d..17357da 100644 --- a/.github/scripts/archive_eol.py +++ b/.github/scripts/archive_eol.py @@ -118,11 +118,12 @@ def main() -> None: # 3-1.6, 3-18.08 is EOL "org.videolan.VLC.Plugin.fdkaac", } - # we need to get apps which are EOL on both supported arches - # as there are apps which are only EOL on one arch but maintained - # in another. This might miss some refs but LBYL! - stable = get_eol_refs("x86_64", "flathub") & get_eol_refs("aarch64", "flathub") - eols = list(stable - excludes) + + stable = get_eol_refs("x86_64", "flathub") | get_eol_refs("aarch64", "flathub") + beta = get_eol_refs("x86_64", "flathub-beta") | get_eol_refs( + "aarch64", "flathub-beta" + ) + eols = list((stable | beta) - excludes) if not eols: return diff --git a/.github/workflows/archive.yml b/.github/workflows/archive.yml index 66983c7..04fb1c4 100644 --- a/.github/workflows/archive.yml +++ b/.github/workflows/archive.yml @@ -23,6 +23,7 @@ jobs: - name: Set up Flathub remotes run: | flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo + flatpak remote-add --user --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo - name: Run EOL script run: python3 .github/scripts/archive_eol.py