Skip to content

Commit

Permalink
CI: fix homebrew linkage (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm authored Sep 2, 2024
1 parent 059aac7 commit 2f56aeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
# Update the formula and commit to the default branch
- id: update-and-commit
run: |
REPO_JSON=$(curl -L --fail-with-body --silent "https://api.github.com/repos/emmercm/igir")
set -x
REPO_JSON=$(gh api "repos/emmercm/igir")
REPO_CLONE_URL=$(echo "${REPO_JSON}" | jq --raw-output '.clone_url')
REPO_DEFAULT_BRANCH=$(echo "${REPO_JSON}" | jq --raw-output '.default_branch')
Expand Down Expand Up @@ -57,7 +58,7 @@ jobs:
- if: ${{ steps.update-and-commit.outputs.PACKAGE_VERSION }}
id: test
run: |
brew install --build-from-source "$(pwd)/Formula/igir.rb"
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install --debug --verbose --formula --build-from-source "$(pwd)/Formula/igir.rb"
igir --help
# Create the pull request, and mark it as auto-merge
Expand Down
2 changes: 1 addition & 1 deletion Formula/igir.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Igir < Formula
url :stable
end

depends_on "node"
depends_on "node@20"
depends_on "sdl2"

def install
Expand Down

0 comments on commit 2f56aeb

Please sign in to comment.