Skip to content

Run script

Run script #2

Workflow file for this run

name: Run script
on:
workflow_dispatch:
inputs:
ipa:
description: "Direct URL to IPA file"
required: true
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --without dev --no-root
- name: Run script
run: poetry run permasigner -u ${{ github.event.inputs.ipa }} -d
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: App.deb
path: output/**