Skip to content

Commit

Permalink
[#3993] Fix Firebase Distribution uploading step for fastlane
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaozhan committed Sep 28, 2024
1 parent 810f6d4 commit acd0352
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ jobs:

- name: Upload iOS Debug Artifacts
uses: actions/[email protected]
if: github.event_name == 'push'
with:
name: iOSArtifacts
path: |
Expand All @@ -200,6 +201,7 @@ jobs:
DistributeIOS:
runs-on: ubuntu-24.04
needs: [ XCodeBuild ]
if: github.event_name == 'push' || github.event_name == 'schedule'
outputs:
status: ${{ steps.status.outputs.status }}
steps:
Expand All @@ -212,9 +214,12 @@ jobs:
name: iOSArtifacts
path: ios

# was necessary to use chown to fix permission issues in linux machines
- name: Distribute ${{ env.BUILD_TYPE }}
working-directory: ios
run: fastlane distribute${{ env.BUILD_TYPE }}
run: |
sudo chown -R $(whoami) /var/lib/gems/
fastlane distribute${{ env.BUILD_TYPE }}
- name: Delete iOS ${{ env.BUILD_TYPE }} Artifacts
uses: geekyeggo/[email protected]
Expand Down

0 comments on commit acd0352

Please sign in to comment.