Skip to content

Allow for multiple download locations for different operating systems #5

@moritzheiber

Description

@moritzheiber

Linuxbrew is a thing:tm: thus some Homebrew formula are doing stuff like this:

# The main formula
class MyFormula < Formula
  # [...]
  version '0.0.1'
  # [...]

  if OS.mac?
    url 'https://some.url/v0.0.1/binary-macos'
    sha256 'ce06501c7f791b4d653effb50f234cd6fa451c734054acb9936c14e965abf37d'
  elsif OS.linux?
    url 'https://some.url/v0.0.1/binary-linux'
    sha256 'a64cc55300ccd8491759fa5a7df1031e57b83d9712512333f792d4fb448dd766'
  end
  # [...]
end

It would be cool to be able to support this formula with this action 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions