3737 asset_path : ./swift-doc--${{ github.event.release.tag_name }}.catalina.bottle.tar.gz
3838 asset_name : swift-doc-${{ github.event.release.tag_name }}.catalina.bottle.tar.gz
3939 asset_content_type : application/gzip
40- - name : Update the Homebrew formula again with bottle
41- uses : NSHipster/update-homebrew-formula-action@main
42- with :
43- repository : SwiftDocOrg/swift-doc
44- tap : SwiftDocOrg/homebrew-formulae
45- formula : Formula/swift-doc.rb
46- message : |
47- Add bottle for swift-doc ${{ github.event.release.tag_name }}
48- on macOS 10.15 (Catalina)
49- env :
50- GH_PERSONAL_ACCESS_TOKEN : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
5140
5241 bottle_macos_big_sur :
5342 name : Build and distribute Homebrew bottle for macOS Big Sur
@@ -68,15 +57,22 @@ jobs:
6857 asset_path : ./swift-doc--${{ github.event.release.tag_name }}.big_sur.bottle.tar.gz
6958 asset_name : swift-doc-${{ github.event.release.tag_name }}.big_sur.bottle.tar.gz
7059 asset_content_type : application/gzip
71- - name : Update the Homebrew formula again with bottle
72- uses : NSHipster/update-homebrew-formula-action@main
60+
61+ update_formula_bottle :
62+ name : Update the Homebrew formula again with bottle
63+ runs-on : ubuntu-latest
64+ needs :
65+ - bottle_macos_catalina
66+ - bottle_macos_big_sur
67+ steps :
68+ - uses : NSHipster/update-homebrew-formula-action@main
7369 with :
7470 repository : SwiftDocOrg/swift-doc
7571 tap : SwiftDocOrg/homebrew-formulae
7672 formula : Formula/swift-doc.rb
7773 message : |
78- Add bottle for swift-doc ${{ github.event.release.tag_name }}
79- on macOS 11.0 (Big Sur)
74+ Add bottles for swift-doc ${{ github.event.release.tag_name }}
75+ on macOS 10.15 (Catalina) and macOS 11.0 (Big Sur)
8076 env :
8177 GH_PERSONAL_ACCESS_TOKEN : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
8278
0 commit comments