Run #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/upload-artifact@v3.1.0 | |
with: | |
name: App | |
path: ${{ github.workspace }}/App.ipa |