name: "Fetch the electron-updater manifest" description: "Check the specified manifest and extract the version and deprecated versions" inputs: url: description: "electron-updater update manifest url to check" required: true outputs: version: description: "Latest version for the package" deprecated_versions: description: "A condition string for deprecated packages" runs: using: docker image: docker://linuxserver/yq entrypoint: /bin/bash args: - -c - | set -euo pipefail manifest=$(mktemp) curl -L -s "${{ inputs.url }}" | yq -r '.version, .commonConfig.DEPRECATED_VERSIONS' | ( read version; read deprecated; echo "version=${version}" >> "${GITHUB_OUTPUT}" echo "deprecated_versions=${deprecated}" >> "${GITHUB_OUTPUT}" )