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 ce88526 commit 5d9bb32
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/build_and_publish_on_platforms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
- name: Upload Android Artifact
uses: actions/upload-artifact@v4
with:
Expand All @@ -95,6 +96,11 @@ jobs:
./mifospay-android/build/outputs/apk/prod/release/mifospay-android-prod-release.apk
publish_android_on_firebase:
name: Deploy Android App On Firebase
needs: [ build_android, generate_release_info ]
Expand Down Expand Up @@ -211,7 +217,6 @@ jobs:
if: github.event.inputs.release_type == 'beta'
run: bundle exec fastlane promote_to_beta

# Disabled iOS build for now
build_ios:
name: Build iOS App
runs-on: macos-latest
Expand Down Expand Up @@ -512,8 +517,13 @@ jobs:
- name: Archive Web Build
shell: pwsh
run: |
Compress-Archive -Path 'web-app/*' -DestinationPath 'web-app.zip'
Compress-Archive -Path './all-artifacts/web-app/*' -DestinationPath './all-artifacts/mifospay-web-app.zip'
# Rename Ubuntu desktop artifact
- name: Rename Ubuntu Desktop Artifact
run: |
mv ./all-artifacts/desktop-app-ubuntu-latest/mifoswallet_1.0.0_amd64.deb ./all-artifacts/desktop-app-ubuntu-latest/MifosWallet-1.0.0.deb
- name: Download Git Changelog
uses: actions/download-artifact@v4
Expand All @@ -524,9 +534,14 @@ jobs:
uses: softprops/[email protected]
with:
tag_name: ${{ needs.generate_release_info.outputs.version }}
body_path: ./changelogGithub
body_path: ./all-artifacts/git-changelog/changelogGithub
draft: false
prerelease: true
files: |
./all-artifacts/
./web-app.zip
./all-artifacts/android-app/prod/release/mifospay-android-prod-release.apk
./all-artifacts/android-app/prod/release/mifospay-android-demo-release.apk
./all-artifacts/desktop-app-windows-latest/MifosWallet-1.0.0.exe
./all-artifacts/desktop-app-windows-latest/msi/MifosWallet-1.0.0.msi
./all-artifacts/desktop-app-macos-latest/MifosWallet-1.0.0.dmg
./all-artifacts/desktop-app-ubuntu-latest/MifosWallet-1.0.0.deb
./all-artifacts/mifospay-web-app.zip

0 comments on commit 5d9bb32

Please sign in to comment.