Skip to content

Commit

Permalink
pipe info to xmlstarlet
Browse files Browse the repository at this point in the history
  • Loading branch information
level3tjg committed Apr 2, 2024
1 parent 58a0c15 commit 396e7be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 396e7be

Please sign in to comment.