Compare commits

..

No commits in common. "5e8f66d75ccc85969a8ccabeccf9b8e596d56016" and "e7b07265046f9d1011c51ed83d973f24963ceb6a" have entirely different histories.

6 changed files with 7 additions and 77 deletions

View file

@ -27,16 +27,6 @@ on:
required: true
type: boolean
default: true
deploy-ios:
description: "Publish to App Store"
required: true
type: boolean
default: true
deploy-android:
description: "Publish to Google Play"
required: true
type: boolean
default: true
release-track:
description: "Release track"
type: choice
@ -77,7 +67,7 @@ jobs:
build-android:
name: Build Android
needs: [generate-release-notes]
if: ${{ always() && !failure() && !cancelled() && inputs.deploy-android }}
if: ${{ always() && !failure() && !cancelled() }}
strategy:
matrix:
binary-type: [apk, appbundle]
@ -92,7 +82,7 @@ jobs:
build-ios:
name: Build iOS
needs: [generate-release-notes]
if: ${{ always() && !failure() && !cancelled() && inputs.deploy-ios }}
if: ${{ always() && !failure() && !cancelled() }}
uses: ./.github/workflows/build_ipa.yml
secrets: inherit
with:
@ -102,7 +92,7 @@ jobs:
create-github-release:
name: Create Github release
needs: [build-android, build-ios]
if: ${{ always() && !cancelled() && inputs.deploy-android}}
if: ${{ always() && !failure() && !cancelled() }}
runs-on: ubuntu-latest
permissions:
contents: write
@ -153,7 +143,7 @@ jobs:
create-google-play-release:
name: Create Google Play release
needs: [build-android, build-ios]
if: ${{ always() && !failure() && !cancelled() && inputs.deploy-android }}
if: ${{ always() && !failure() && !cancelled() }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
@ -205,7 +195,7 @@ jobs:
upload-to-app-store:
name: Upload to App Store
needs: [build-android, build-ios]
if: ${{ always() && !failure() && !cancelled() && inputs.deploy-ios }}
if: ${{ always() && !failure() && !cancelled() }}
runs-on: macos-13
steps:
- uses: actions/checkout@v3

View file

@ -64,62 +64,3 @@ jobs:
bash ./.github/scripts/stub_iap.sh
flutter pub get
flutter analyze lib --fatal-infos
platform-changes:
name: Checks for platform changes
runs-on: ubuntu-latest
outputs:
android-changed: ${{ steps.platform-changes.outputs.android-changed }}
ios-changed: ${{ steps.platform-changes.outputs.ios-changed }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- id: platform-changes
uses: dorny/paths-filter@v2
with:
filters: |
android-changed:
- 'android/**'
- 'pubspec.yaml'
ios-changed:
- 'ios/**'
- 'pubspec.yaml'
build-android:
name: Build Android
needs: platform-changes
if: needs.platform-changes.outputs.android-changed == 'true'
uses: ./.github/workflows/build_apk.yml
secrets: inherit
with:
binary-type: apk
flavor: prod
stage-backend: false
version: "1.0.0"
build-ios:
name: Build iOS
needs: platform-changes
if: needs.platform-changes.outputs.ios-changed == 'true'
uses: ./.github/workflows/build_ipa.yml
secrets: inherit
with:
stage-backend: false
version: "1.0.0"
cleanup:
name: Cleanup
if: ${{ always() }}
needs: [build-android, build-ios]
runs-on: ubuntu-latest
steps:
- name: Delete release artifacts
uses: geekyeggo/delete-artifact@v2
with:
failOnError: false
name: |
m3_lightmeter_apk
m3_lightmeter_appbundle
m3_lightmeter_ipa

View file

@ -1,4 +1,4 @@
org.gradle.jvmargs=-Xmx2048M
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
android.defaults.buildfeatures.buildconfig=true

Binary file not shown.

View file

@ -1 +0,0 @@
- Performance improvements and bug fixes.

View file

@ -1,7 +1,7 @@
name: lightmeter
description: Lightmeter app inspired by Material 3 design system.
publish_to: "none"
version: 1.0.1+56
version: 1.0.0+55
environment:
sdk: ">=3.0.0 <4.0.0"