File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -34,18 +34,16 @@ jobs:
34
34
echo "sha256=$hash" >> $GITHUB_OUTPUT
35
35
- name : Update Cask File
36
36
run : |
37
- sed -i'' -e 's/sha256 ""/sha256 "${{ steps.calculate_sha.outputs.sha256 }}"/g' chilikeys.rb
37
+ sed -i'' -e 's/sha256 ""/sha256 "${{ steps.calculate_sha.outputs.sha256 }}"/g' Formula/ chilikeys.rb
38
38
- name : Create Release
39
39
uses : softprops/action-gh-release@v2
40
40
with :
41
41
files : |
42
42
ChiliKeys-${{ github.ref_name }}.zip
43
43
ChiliKeys Installer ${{ github.ref_name }}.dmg
44
- - name : Push Cask File to Tap
45
- run : |
46
- git config --global user.email "actions@github.com"
47
- git config --global user.name "GitHub Actions"
48
- git add chilikeys.rb
49
- git commit -m "Update Cask file for ${{ github.ref_name }}"
50
- git remote add tap https://github.com/sergchil/homebrew-chilikeys
51
- git push tap main
44
+ - name : Commit Cask File
45
+ uses : stefanzweifel/git-auto-commit-action@v5
46
+ with :
47
+ file_pattern : Formula/chilikeys.rb
48
+ commit_message : Update Cask file for ${{ github.ref_name}}
49
+ branch : main
File renamed without changes.
You can’t perform that action at this time.
0 commit comments