From 396e7bee28a72bcc977cfcc53266b53fa88d8c9b Mon Sep 17 00:00:00 2001 From: level3tjg Date: Tue, 2 Apr 2024 07:42:57 -0400 Subject: [PATCH] pipe info to xmlstarlet --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 036a4e8..1d03105 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,8 +61,8 @@ jobs: id: ipa_info run: | info=$(unzip -p "${{ github.workspace }}/App.ipa" Payload/*.app/Info.plist) - echo "bundle-id=$(xmlstarlet sel -t -v "/plist/dict/key[text()=\"CFBundleIdentifier\"]/following-sibling::*[1]/text()")" >> $GITHUB_OUTPUT - echo "version=$(xmlstarlet sel -t -v "/plist/dict/key[text()=\"CFBundleShortVersionString\"]/following-sibling::*[1]/text()")" >> $GITHUB_OUTPUT + echo "bundle-id=$(cat $info | xmlstarlet sel -t -v "/plist/dict/key[text()=\"CFBundleIdentifier\"]/following-sibling::*[1]/text()")" >> $GITHUB_OUTPUT + echo "version=$(cat $info | xmlstarlet sel -t -v "/plist/dict/key[text()=\"CFBundleShortVersionString\"]/following-sibling::*[1]/text()")" >> $GITHUB_OUTPUT - name: Setup theos uses: level3tjg/theos-action@main