forked from itsnebulalol/deb-to-ipa
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (24 loc) · 804 Bytes
/
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
name: Run
on:
workflow_dispatch:
inputs:
deb:
description: "Direct URL to deb file"
required: true
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Convert deb to IPA
run: |
curl -L -o ${{ github.workspace }}/app.deb "${{ github.event.inputs.deb }}"
dpkg-deb -X ${{ github.workspace }}/app.deb ${{ github.workspace }}/app
mkdir -p ${{ github.workspace }}/ipa/Payload
cp -R ${{ github.workspace }}/app/Applications/* ${{ 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