Skip to content

Commit

Permalink
Fix output path and variable references in iOS demo build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cpholguera committed Jan 22, 2025
1 parent 2b4dfd8 commit ef5bb79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-ios-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,19 +108,19 @@ jobs:
zip -r9q MASTestApp.zip Payload
mv MASTestApp.zip MASTestApp.ipa
mkdir -p "$GITHUB_WORKSPACE/output"
mv MASTestApp.ipa "output/$(basename '${{ matrix.demo }}').ipa"
mv MASTestApp.ipa "$GITHUB_WORKSPACE/output/$(basename "${{ matrix.demo }}").ipa"
- name: Set IPA name variable
id: set_ipa_name
run: echo "IPA_NAME=$(basename '${{ matrix.demo }}').ipa" >> $GITHUB_ENV
run: echo "IPA_NAME=$(basename "${{ matrix.demo }}").ipa" >> $GITHUB_ENV

- name: List generated IPA
run: |
echo "Listing generated IPA in output directory:"
ls -l output/
ls -l "$GITHUB_WORKSPACE/output" || echo "No IPA found."
- name: Upload IPA
uses: actions/upload-artifact@v4
with:
name: "${{ env.IPA_NAME }}"
path: "output/${{ env.IPA_NAME }}"
path: "$GITHUB_WORKSPACE/output/${{ env.IPA_NAME }}"

0 comments on commit ef5bb79

Please sign in to comment.