yakshaveinc / linux

software engineering for Linux projects
The Unlicense
1 stars 3 forks source link

Move Homebrew install into separate action #48

Closed abitrolly closed 1 year ago

abitrolly commented 2 years ago

https://github.com/abitrolly/fedora-packages-static/tree/master/.github/actions/homebrew-install is the action that allows to use Homebrew with Linux containers in GitHub Actions. Like if you need Ubuntu 21.04 or later which is not available among GitHub runners.

The goal it to have a separate https://github.com/yakshaveinc/homebrew-install repo with preserved history, because it was a rather painful process which took time, and it would be nice one day to compensate that time by releasing and selling NFT.

For preserving history I need to learn how to use reposurgeon.

abitrolly commented 2 years ago

Clone only main branch without 10+Gb of generated content.

$ git clone --single-branch -b master https://github.com/abitrolly/fedora-packages-static homebrew-install
abitrolly commented 1 year ago

Use https://github.com/Homebrew/actions/tree/master/setup-homebrew