build: adjust to comply with apple's review policy

This commit is contained in:
josc146
2023-03-25 09:48:02 +08:00
parent 07c396fd66
commit cc6eae55d9
5 changed files with 32 additions and 11 deletions
+1 -1
View File
@@ -44,11 +44,11 @@ jobs:
with:
node-version: 18
- run: npm ci
- run: npm run build
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 14.2
- run: sed -i '' "s/0.0.0/${{ env.VERSION }}/g" safari/project.pre.patch
- run: sed -i '' "s/0.0.0/${{ env.VERSION }}/g" safari/project.patch
- run: npm run build:safari