The previous logic for detecting the 'latest' weld version relied on 'gh release download' interpreting an empty tag argument as the latest release. This was causing issues in consumer workflows, as it was seemingly looking for a literal 'latest' tag. This commit updates the 'Get Version Tag for Download' step to explicitly query the GitHub API for the actual tag name of the latest release when 'weld-version' is set to 'latest'. This ensures a concrete tag is always provided to the download command, making the action more robust.
2.1 KiB
2.1 KiB