-
-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add -o, added github runner for signing, fix installing issues
- Loading branch information
1 parent
018a29a
commit 510f6a0
Showing
4 changed files
with
120 additions
and
32 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Run script | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
ipa: | ||
description: "Direct URL to IPA file" | ||
required: true | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Checkout the latest code from the repo | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
# Setup which version of Python to use | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
# Install dependencies | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
# Run script | ||
- name: Run script | ||
run: python main.py -u ${{ github.event.inputs.ipa }} -n -d | ||
id: run_script | ||
|
||
# Get name of app | ||
- name: Get name of app | ||
shell: python | ||
run: | | ||
s = """${{ steps.run_tests.outputs.* }}""" | ||
print(s.splitlines()[-1].replace("[*] Output file: ", "")) | ||
id: app_name | ||
|
||
# Upload test artifact | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ steps.app_name.outputs.* }} | ||
path: output/${{ steps.app_name.outputs.* }} |
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
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
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