forked from itsnebulalol/carplayify
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (27 loc) · 1.05 KB
/
run.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Run
on:
workflow_dispatch:
inputs:
ipa:
description: "Direct URL to IPA file"
required: true
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Resign with entitlements
run: |
curl -O https://raw.githubusercontent.com/itsnebulalol/carplayify/main/ents.plist
curl -L -o ${{ github.workspace }}/ldid https://github.com/permasigner/ldid/releases/latest/download/ldid_linux_x86_64
chmod +x ${{ github.workspace }}/ldid
curl -L -o ${{ github.workspace }}/app.ipa "${{ github.event.inputs.ipa }}"
mkdir -p ${{ github.workspace }}/ipa
unzip ${{ github.workspace }}/app.ipa -d ${{ github.workspace }}/ipa
${{ github.workspace }}/ldid -Sents.plist -M ${{ github.workspace }}/ipa/Payload/*
cd ${{ github.workspace }}/ipa
zip -r ${{ github.workspace }}/App.ipa .
- name: Upload IPA
uses: actions/[email protected]
with:
name: App
path: ${{ github.workspace }}/App.ipa