Skip to content

Commit

Permalink
chore: Fixing workflow usage
Browse files Browse the repository at this point in the history
  • Loading branch information
niyajali committed Nov 29, 2024
1 parent 802a84b commit 4ef46bd
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/build_and_publish_on_platforms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ jobs:
# Disabled iOS build for now
build_ios:
name: Build iOS App
if: inputs.build_ios
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -235,10 +234,13 @@ jobs:
bundle exec fastlane add_plugin firebase_app_distribution
bundle exec fastlane add_plugin increment_build_number
- name: Build iOS App
if: inputs.build_ios
run: bundle exec fastlane ios build_ios

- name: Upload iOS Artifact
if: inputs.build_ios
uses: actions/upload-artifact@v4
with:
name: ios-app
Expand All @@ -248,6 +250,7 @@ jobs:

publish_ios_app_to_firebase:
name: Publish iOS App On Firebase
if: inputs.publish_ios
needs: [ build_ios, generate_release_info ]
runs-on: macos-latest
permissions:
Expand Down Expand Up @@ -415,6 +418,9 @@ jobs:
needs: [ build_web ]
if: inputs.publish_web
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
id-token: write
pages: write
Expand All @@ -431,8 +437,6 @@ jobs:
name: web-app
path: ./web-app-content

- name: Display structure of downloaded files
run: ls -R ./web-app-content

- name: Setup Pages
uses: actions/configure-pages@v5
Expand Down Expand Up @@ -503,6 +507,9 @@ jobs:
path: ./all-artifacts
merge-multiple: true

- name: Display structure of downloaded files
run: ls -R ./all-artifacts

- name: Archive Web Build
shell: pwsh
run: |
Expand All @@ -518,9 +525,9 @@ jobs:
uses: softprops/[email protected]
with:
tag_name: ${{ needs.generate_release_info.outputs.version }}
body_path: changelogGithub
body_path: ./changelogGithub
draft: false
prerelease: true
files: |
all-artifacts/*
web-app.zip
./all-artifacts/*
./web-app.zip

0 comments on commit 4ef46bd

Please sign in to comment.