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 28, 2024
1 parent d5e76bc commit 5bccfd4
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/build_and_publish_on_platforms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ jobs:
./mifospay-android/build/outputs/apk/demo/release/mifospay-android-demo-release.apk
./mifospay-android/build/outputs/apk/prod/release/mifospay-android-prod-release.apk
distribute_android_on_firebase:
name: Deploy Android App On Firebase
needs: [ build_android, generate_release_info ]
Expand Down Expand Up @@ -129,13 +130,10 @@ jobs:
with:
name: beta-changelog

- name: Display structure of downloaded files
run: ls -R

- name: Move APK to build directory
run: |
mkdir -p ./mifospay-android/build/outputs/apk/prod/release/
mv android-app/mifospay-android-prod-release.apk ./mifospay-android/build/outputs/apk/prod/release/
mv mifospay-android-prod-release.apk ./mifospay-android/build/outputs/apk/prod/release/
mv changelogBeta ./mifospay-android/build/outputs/
Expand Down Expand Up @@ -264,6 +262,7 @@ jobs:
bundle exec fastlane add_plugin firebase_app_distribution
bundle exec fastlane add_plugin increment_build_number
- name: Download iOS App
uses: actions/download-artifact@v4
with:
Expand All @@ -276,8 +275,9 @@ jobs:

- name: Move APK to build directory
run: |
mv ios-app/*.ipa ./mifospay-ios/
mv beta-changelog/changelogBeta ./mifospay-android/build/outputs/
mv *.ipa ./mifospay-ios/
mv changelogBeta ./mifospay-android/build/outputs/
- name: Upload iOS App to Firebase Distribution
Expand Down Expand Up @@ -385,6 +385,7 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
distribution: 'zulu'
Expand Down Expand Up @@ -423,14 +424,15 @@ jobs:
uses: actions/download-artifact@v4
with:
name: web-app
path: ./web-app-content

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload static files as artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'web-app/*'
path: 'web-app-content/*'

- name: Deploy to GitHub Pages
id: deployment
Expand Down Expand Up @@ -489,12 +491,16 @@ jobs:

- name: Download All Artifacts
uses: actions/download-artifact@v4
with:
path: ./all-artifacts
merge-multiple: true

- name: Archive Web Build
shell: pwsh
run: |
Compress-Archive -Path 'web-app/*' -DestinationPath 'web-app.zip'
- name: Download Git Changelog
uses: actions/download-artifact@v4
with:
Expand All @@ -508,7 +514,5 @@ jobs:
draft: false
prerelease: true
files: |
android-app/*
desktop-app-*/*
all-artifacts/*
web-app.zip
ios-app/*

0 comments on commit 5bccfd4

Please sign in to comment.