Skip to content

Commit

Permalink
echo not cat
Browse files Browse the repository at this point in the history
  • Loading branch information
level3tjg committed Apr 2, 2024
1 parent 396e7be commit 163a1ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
default: false
type: boolean
ipa_url:
description: "Direct URL to Reddit IPA file"
description: "Direct URL to Decrypted IPA file"
type: string
required: false

Expand Down 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=$(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
echo "bundle-id=$(echo $info | xmlstarlet sel -t -v "/plist/dict/key[text()=\"CFBundleIdentifier\"]/following-sibling::*[1]/text()")" >> $GITHUB_OUTPUT
echo "version=$(echo $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 163a1ee

Please sign in to comment.