Skip to content

Commit dfd6096

Browse files
committed
Support lookup by appID & lookups appVerID
1 parent 7bc231b commit dfd6096

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: .github/workflows/ipa.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ jobs:
8181
# available operations: lookup, historyver, download, historyver_id, download_id
8282
op=${{ github.event.inputs.operation }}
8383
if [[ "$op" == "lookup" ]]; then
84-
python3 ipatool-py/main.py --json lookup -b ${{ github.event.inputs.appBundleId }} -c ${{ github.event.inputs.appCountry }}
84+
if [[ "${{ github.event.inputs.appBundleId }}" != "" ]]; then
85+
python3 ipatool-py/main.py --json lookup --get-verid -b ${{ github.event.inputs.appBundleId }} -c ${{ github.event.inputs.appCountry }}
86+
else
87+
python3 ipatool-py/main.py --json lookup --get-verid -i ${{ github.event.inputs.appId }} -c ${{ github.event.inputs.appCountry }}
88+
fi
8589
elif [[ "$op" == historyver* ]]; then
8690
if [[ "$op" == "historyver" ]]; then
8791
python3 ipatool-py/main.py --json lookup -b ${{ github.event.inputs.appBundleId }} -c ${{ github.event.inputs.appCountry }} \

0 commit comments

Comments
 (0)