Skip to content

Commit

Permalink
Merge pull request #240 from katalon-studio/fix-mac
Browse files Browse the repository at this point in the history
Fix mac
  • Loading branch information
quidl authored Aug 2, 2024
2 parents e8b3a66 + 3d79dad commit ea38064
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/package_agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Package Agent
branches:
- master
- release
# - fix-mac
- fix-mac

permissions:
id-token: write # This is required for requesting the JWT
Expand Down Expand Up @@ -60,26 +60,26 @@ jobs:
npm run afterbuild
ls -al bin
# - name: Build with Node.js ${{ matrix.node-version }} on ${{ runner.os }}
# env:
# CI: true
# if: ${{ matrix.os == 'macos-13' }}
# run: |
# ls -al
# npm run build
# node --experimental-sea-config sea-config.json
# cp $(command -v node) agent
# codesign --remove-signature agent
# npx postject agent NODE_SEA_BLOB agent.blob \
# --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 \
# --macho-segment-name NODE_SEA
# # codesign --sign - agent
- name: Build with Node.js ${{ matrix.node-version }} on ${{ runner.os }}
env:
CI: true
if: ${{ matrix.os == 'macos-13' }}
run: |
ls -al
npm run build
node --experimental-sea-config sea-config.json
cp $(command -v node) agent
codesign --remove-signature agent
npx postject agent NODE_SEA_BLOB agent.blob \
--sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 \
--macho-segment-name NODE_SEA
# codesign --sign - agent
# mkdir bin
# chmod +x agent
# cp agent bin/cli-macos-x64
# npm run afterbuild
# ls -al bin
mkdir bin
chmod +x agent
cp agent bin/cli-macos-x64
npm run afterbuild
ls -al bin
- name: Build with Node.js ${{ matrix.node-version }} on ${{ runner.os }}
env:
Expand Down

0 comments on commit ea38064

Please sign in to comment.