diff --git a/.github/workflows/build-ios-demos.yml b/.github/workflows/build-ios-demos.yml index 1d6dca2b20..6915649f84 100644 --- a/.github/workflows/build-ios-demos.yml +++ b/.github/workflows/build-ios-demos.yml @@ -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 }}"