Skip to content

Commit 6ed82c1

Browse files
authored
Merge pull request #211313 from Homebrew/arm64_linux-bottles
workflows/dispatch-build-bottle: support `:arm64_linux` builds
2 parents 39e0261 + 6f3601e commit 6ed82c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/dispatch-build-bottle.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ env:
3232
HOMEBREW_NO_AUTO_UPDATE: 1
3333
HOMEBREW_NO_INSTALL_FROM_API: 1
3434
HOMEBREW_NO_BUILD_ERROR_ISSUES: 1
35+
HOMEBREW_ARM64_TESTING: 1
3536
RUN_URL: ${{github.event.repository.html_url}}/actions/runs/${{github.run_id}}
3637
DISPATCH_BUILD_BOTTLE_SENDER: ${{ github.event.sender.login }}
3738
DISPATCH_BUILD_BOTTLE_FORMULA: ${{ inputs.formula }}
@@ -112,7 +113,9 @@ jobs:
112113
matrix.each do |entry|
113114
runner = entry.fetch("runner")
114115
115-
bottle_tag = if runner.start_with?("ubuntu") || runner.start_with?("linux")
116+
bottle_tag = if runner.start_with?("ubuntu-") && runner.end_with?("-arm")
117+
Utils::Bottles.tag(:arm64_linux)
118+
elsif runner.start_with?("ubuntu") || runner.start_with?("linux")
116119
Utils::Bottles.tag(:x86_64_linux)
117120
elsif runner.match?(/^\d+-/)
118121
os_version, arch, _ = *runner.split("-")

0 commit comments

Comments
 (0)