diff --git a/.github/workflows/cron_publish_flatpak.yml b/.github/workflows/cron_publish_flatpak.yml index 931b986f89..e079235ef6 100644 --- a/.github/workflows/cron_publish_flatpak.yml +++ b/.github/workflows/cron_publish_flatpak.yml @@ -30,7 +30,11 @@ jobs: build: needs: check - if: needs.check.outputs.FLATHUB_RELEASE < needs.check.outputs.PCSX2_RELEASE + # outputs are automatically compared as strings. This doesn't work in our favour + # Use fromJson() to convert them to proper integers... + # see: https://github.com/github/docs/pull/25870 + # and: https://github.com/orgs/community/discussions/57480 + if: fromJson(needs.check.outputs.FLATHUB_RELEASE) < fromJson(needs.check.outputs.PCSX2_RELEASE) name: "Build and publish Flatpak" uses: ./.github/workflows/linux_build_flatpak.yml with: