Skip to content

Commit

Permalink
Remove signet release every commit
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman authored and TonyGiorgio committed Oct 26, 2023
1 parent e8bf7b9 commit 6f628cf
Showing 1 changed file with 13 additions and 41 deletions.
54 changes: 13 additions & 41 deletions .github/workflows/android-staging.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Release Android Staging

on:
workflow_dispatch:
push:
branches:
- master
Expand Down Expand Up @@ -99,60 +100,31 @@ jobs:
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
tag_name: ${{ format('build-{0}', github.run_number) }}
release_name: Prerelease test ${{ format('build-{0}', github.run_number) }}
body: Signet prelease test builds based on every push to master.
draft: false
prerelease: true

# F-Droid APK
- name: Upload F-Droid APK Universal Asset
id: upload-release-asset-fdroid-universal-apk
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
uses: actions/upload-artifact@v3
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: android/app/build/outputs/apk/fdroid/release/app-fdroid-universal-release-unsigned-signed.apk
asset_name: mutiny-wallet-fdroid-universal-master.apk
asset_content_type: application/zip
path: android/app/build/outputs/apk/fdroid/release/app-fdroid-universal-release-unsigned-signed.apk
name: mutiny-wallet-fdroid-universal-master.apk

- name: Upload F-Droid APK x86 Asset
id: upload-release-asset-fdroid-x86-apk
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
uses: actions/upload-artifact@v3
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: android/app/build/outputs/apk/fdroid/release/app-fdroid-x86-release-unsigned-signed.apk
asset_name: mutiny-wallet-fdroid-x86-master.apk
asset_content_type: application/zip
path: android/app/build/outputs/apk/fdroid/release/app-fdroid-x86-release-unsigned-signed.apk
name: mutiny-wallet-fdroid-x86-master.apk

- name: Upload F-Droid APK x86_64 Asset
id: upload-release-asset-fdroid-x86-64-apk
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
uses: actions/upload-artifact@v3
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: android/app/build/outputs/apk/fdroid/release/app-fdroid-x86_64-release-unsigned-signed.apk
asset_name: mutiny-wallet-fdroid-x86_64-master.apk
asset_content_type: application/zip
path: android/app/build/outputs/apk/fdroid/release/app-fdroid-x86_64-release-unsigned-signed.apk
name: mutiny-wallet-fdroid-x86_64-master.apk

# FDroid AAB
- name: Upload F-Droid AAB Asset
id: upload-release-asset-fdroid-aab
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
uses: actions/upload-artifact@v3
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: android/app/build/outputs/bundle/fdroidRelease/app-fdroid-release.aab
asset_name: mutiny-wallet-fdroid-master.aab
asset_content_type: application/zip
path: android/app/build/outputs/bundle/fdroidRelease/app-fdroid-release.aab
name: mutiny-wallet-fdroid-master.aab

0 comments on commit 6f628cf

Please sign in to comment.