Skip to content

Commit 926f62c

Browse files
authored
Install ldid with brew (#1217)
* Install `ldid` with `conda` * Apply suggestions from code review * Apply suggestions from code review * Use `brew` instead of `conda` * Add helpful comment
1 parent 188cde1 commit 926f62c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/test-deploy.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,9 @@ jobs:
104104
- run: npm ${{ inputs.release && 'publish' || 'publish --dry-run' }}
105105
env:
106106
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
107-
- run: |
108-
sudo apt install --yes libplist-dev
109-
git clone --branch v2.1.5 git://git.saurik.com/ldid.git
110-
sudo g++ -pipe -o /usr/bin/ldid ldid/ldid.cpp -I. -x c ldid/{lookup2.c,sha1.h} -lplist -lcrypto
107+
# Step required "thanks" to https://github.com/actions/runner-images/issues/6283
108+
- uses: Homebrew/actions/setup-homebrew@29b2973f18e5aca5443f4b3d87f68eda7a27b22b
109+
- run: brew install ldid
111110
- run: |
112111
cp node_modules/@npcz/magic/dist/magic.mgc assets/magic.mgc
113112
npx --yes pkg --no-bytecode --public-packages "*" --public package.json

0 commit comments

Comments
 (0)