Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gets the latest version of Cake from GitHub #56

Merged
merged 3 commits into from
Aug 28, 2024

Commits on Aug 23, 2024

  1. Configuration menu
    Copy the full SHA
    7d9b33f View commit details
    Browse the repository at this point in the history
  2. Installs the latest version of the Cake.Tool (#55)

    Earlier, not providing an argument for the `cake-version` input
    parameter resulted in the Cake.Tool being installed without the
    `--version` parameter. This is fine in most cases, since in practice it
    translates into installing the latest version.
    
    The case when it stops being fine is when an earlier version of the
    Cake.Tool is already installed in the tools directory and you're running
    the action without a version number.
    
    In that case, you would expect the action to uninstall the existing
    version of the Cake.Tool and install the latest one, but what used to
    happen instead is that the action wouldn't even check what version
    was installed, since it had no version number to compare with, and it
    would just use whatever version of the tool was already installed.
    
    This commit addresses this corner case by explicitly fetching the latest
    version of the Cake.Tool from GitHub when no version number is specified
    by the user. This way, the action is able to compare that version number
    with whatever may already be installed and act appropriately.
    ecampidoglio committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    2b410af View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f125c66 View commit details
    Browse the repository at this point in the history