Skip to content

Commit

Permalink
try with arm
Browse files Browse the repository at this point in the history
  • Loading branch information
reckter committed Aug 30, 2021
1 parent 1d3ae5e commit b0d1e51
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,26 @@ jobs:
asset_name: creekey-cli-${{ github.event.release.tag_name }}.catalina.bottle.1.tar.gz
asset_content_type: application/gzip

bottle_maos_arm:
name: Build and distribute Homebrew bottle for macOS arm Big Sur
runs-on: [self-hosted, macOS, arm]
needs: [formula]
steps:
- name: Build a bottle using Homebrew
run: |
brew tap opencreek/tab
brew install --build-bottle --verbose creekey
brew bottle creekey
- name: Upload the bottle to the GitHub release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./creekey--${{ github.event.release.tag_name }}.arm64_big_sur.bottle.1.tar.gz
asset_name: creekey-cli-${{ github.event.release.tag_name }}.arm64_big_sur.bottle.1.tar.gz
asset_content_type: application/gzip

bottle_macos_big_sur:
name: Build and distribute Homebrew bottle for macOS Big Sur
runs-on: macos-11.0
Expand All @@ -64,6 +84,7 @@ jobs:
needs:
- bottle_macos_catalina
- bottle_macos_big_sur
- bottle_macos_arm
steps:
- uses: NSHipster/update-homebrew-formula-action@main
with:
Expand Down

0 comments on commit b0d1e51

Please sign in to comment.