mirror of https://github.com/PCSX2/pcsx2.git
ci: use fromJson to propely compare flatpack and pcsx2 release versions
This commit is contained in:
parent
a5a8a1a06b
commit
b0026ff59f
|
@ -30,7 +30,11 @@ jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: check
|
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"
|
name: "Build and publish Flatpak"
|
||||||
uses: ./.github/workflows/linux_build_flatpak.yml
|
uses: ./.github/workflows/linux_build_flatpak.yml
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue