Skip to content

Commit

Permalink
wip: fix commits
Browse files Browse the repository at this point in the history
  • Loading branch information
FirePing32 committed Mar 2, 2024
1 parent 06b3c85 commit ac84020
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ jobs:
brew cleanup --prune-prefix
sudo rm -rf $(brew --repo homebrew/core)
# Save distributable as Artifact
- name: Save Distributable
uses: actions/upload-artifact@v2
with:
name: metacall
path: pkg/*.pkg
retention-days: 1
if-no-files-found: error

# Build Homebrew recipe
- name: Build
run: ./build.sh
Expand Down
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ fi
# Build metacall brew recipe
export HOMEBREW_NO_AUTO_UPDATE=1
brew install ./metacall.rb --build-from-source --overwrite -v

# Build distributable binary using brew pkg
mkdir pkg && cd pkg
brew tap timsutton/formulae
brew install brew-pkg
brew pkg --with-deps --without-kegs metacall

0 comments on commit ac84020

Please sign in to comment.