Skip to content

Commit

Permalink
gh workflow iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
samifouad committed Aug 6, 2024
1 parent 50f686f commit 9ecc612
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -371,11 +371,22 @@ jobs:
bun run homebrew.ts
cat homebrew-gild/Formula/gild.rb
- name: Set up SSH
env:
RSA_PRIVATE_KEY: ${{ secrets.SIGNING_KEY }}
run: |
echo "$RSA_PRIVATE_KEY" > /tmp/id_rsa
chmod 600 /tmp/id_rsa
eval "$(ssh-agent -s)"
ssh-add /tmp/id_rsa
- name: push changes to homebrew repo
run: |
cd homebrew-gild
git config --global user.email "[email protected]"
git config --global user.name "Sami Fouad"
git config --global gpg.format ssh
git config --global user.signingkey /tmp/id_rsa
git add .
git commit -m 'automated version bump'
git tag ${{ github.ref_name }} -m 'automated version bump'
Expand Down
2 changes: 1 addition & 1 deletion homebrew.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const rubyFileContent = `class Gild < Formula
desc "Infrastructure as code"
homepage "https://gild.gg"
version "${c.version}"
license "Apache2.0"
license "Apache-2.0"
if OS.mac?
if Hardware::CPU.intel?
Expand Down

0 comments on commit 9ecc612

Please sign in to comment.