From dfd6096298e69a67035ef5ad8575f4702a1403cc Mon Sep 17 00:00:00 2001 From: Misty Date: Tue, 10 May 2022 06:15:28 +0800 Subject: [PATCH] Support lookup by appID & lookups appVerID --- .github/workflows/ipa.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ipa.yml b/.github/workflows/ipa.yml index 036f6db..d9bd67a 100644 --- a/.github/workflows/ipa.yml +++ b/.github/workflows/ipa.yml @@ -81,7 +81,11 @@ jobs: # available operations: lookup, historyver, download, historyver_id, download_id op=${{ github.event.inputs.operation }} if [[ "$op" == "lookup" ]]; then - python3 ipatool-py/main.py --json lookup -b ${{ github.event.inputs.appBundleId }} -c ${{ github.event.inputs.appCountry }} + if [[ "${{ github.event.inputs.appBundleId }}" != "" ]]; then + python3 ipatool-py/main.py --json lookup --get-verid -b ${{ github.event.inputs.appBundleId }} -c ${{ github.event.inputs.appCountry }} + else + python3 ipatool-py/main.py --json lookup --get-verid -i ${{ github.event.inputs.appId }} -c ${{ github.event.inputs.appCountry }} + fi elif [[ "$op" == historyver* ]]; then if [[ "$op" == "historyver" ]]; then python3 ipatool-py/main.py --json lookup -b ${{ github.event.inputs.appBundleId }} -c ${{ github.event.inputs.appCountry }} \