ci: Fix cache key.

This commit is contained in:
tecnovert
2024-11-28 22:57:11 +02:00
parent d19a7538fd
commit 0dc55fc449
2 changed files with 9 additions and 5 deletions

View File

@@ -1515,17 +1515,17 @@ def modify_tor_config(
def printVersion(with_coins):
logger.info(f"Basicswap version: {__version__}")
print(f"Basicswap version: {__version__}")
if len(with_coins) < 1:
return
logger.info("Core versions:")
print("Core versions:")
with_coins_changed: bool = False if len(with_coins) == 1 and "particl" in with_coins else True
for coin, version in known_coins.items():
if with_coins_changed and coin not in with_coins:
continue
postfix = " (Disabled)" if coin in disabled_coins else ""
logger.info("\t%s: %s%s%s", coin.capitalize(), version[0], version[1], postfix)
print("\t{}: {}{}{}".format(coin.capitalize(), version[0], version[1], postfix))
def printHelp():