Skip to content

Commit 8ee2186

Browse files
committed
add commit
1 parent f108899 commit 8ee2186

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/on-release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,18 @@ jobs:
4040
asset_path: dist/heta-compiler-macos.tar.gz
4141
asset_name: heta-compiler-macos.tar.gz
4242
asset_content_type: application/octet-stream
43+
44+
- name: Commit to homebrew-heta-compiler repos
45+
run: |
46+
git clone git@github.com:hetalang/homebrew-heta-compiler.git
47+
cd homebrew-heta-compiler
48+
git config user.name "GitHub Actions"
49+
git config user.email "actions@github.com"
50+
cp -f ../build-hombrew/heta-compiler.rb Formula/ # copy the new formula and replace the old one
51+
ls
52+
git add .
53+
git commit -m "Automated update from source repository based on release ${{ github.event.release.tag_name }}"
54+
# git push origin master
4355
upload-linux-release-asset:
4456
runs-on: ubuntu-latest
4557
steps:

0 commit comments

Comments
 (0)