mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-07-05 13:40:41 +00:00
Compare commits
No commits in common. "5e8f66d75ccc85969a8ccabeccf9b8e596d56016" and "e7b07265046f9d1011c51ed83d973f24963ceb6a" have entirely different histories.
5e8f66d75c
...
e7b0726504
6 changed files with 7 additions and 77 deletions
20
.github/workflows/create_release.yml
vendored
20
.github/workflows/create_release.yml
vendored
|
@ -27,16 +27,6 @@ on:
|
||||||
required: true
|
required: true
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
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:
|
release-track:
|
||||||
description: "Release track"
|
description: "Release track"
|
||||||
type: choice
|
type: choice
|
||||||
|
@ -77,7 +67,7 @@ jobs:
|
||||||
build-android:
|
build-android:
|
||||||
name: Build Android
|
name: Build Android
|
||||||
needs: [generate-release-notes]
|
needs: [generate-release-notes]
|
||||||
if: ${{ always() && !failure() && !cancelled() && inputs.deploy-android }}
|
if: ${{ always() && !failure() && !cancelled() }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
binary-type: [apk, appbundle]
|
binary-type: [apk, appbundle]
|
||||||
|
@ -92,7 +82,7 @@ jobs:
|
||||||
build-ios:
|
build-ios:
|
||||||
name: Build iOS
|
name: Build iOS
|
||||||
needs: [generate-release-notes]
|
needs: [generate-release-notes]
|
||||||
if: ${{ always() && !failure() && !cancelled() && inputs.deploy-ios }}
|
if: ${{ always() && !failure() && !cancelled() }}
|
||||||
uses: ./.github/workflows/build_ipa.yml
|
uses: ./.github/workflows/build_ipa.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
|
@ -102,7 +92,7 @@ jobs:
|
||||||
create-github-release:
|
create-github-release:
|
||||||
name: Create Github release
|
name: Create Github release
|
||||||
needs: [build-android, build-ios]
|
needs: [build-android, build-ios]
|
||||||
if: ${{ always() && !cancelled() && inputs.deploy-android}}
|
if: ${{ always() && !failure() && !cancelled() }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
@ -153,7 +143,7 @@ jobs:
|
||||||
create-google-play-release:
|
create-google-play-release:
|
||||||
name: Create Google Play release
|
name: Create Google Play release
|
||||||
needs: [build-android, build-ios]
|
needs: [build-android, build-ios]
|
||||||
if: ${{ always() && !failure() && !cancelled() && inputs.deploy-android }}
|
if: ${{ always() && !failure() && !cancelled() }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -205,7 +195,7 @@ jobs:
|
||||||
upload-to-app-store:
|
upload-to-app-store:
|
||||||
name: Upload to App Store
|
name: Upload to App Store
|
||||||
needs: [build-android, build-ios]
|
needs: [build-android, build-ios]
|
||||||
if: ${{ always() && !failure() && !cancelled() && inputs.deploy-ios }}
|
if: ${{ always() && !failure() && !cancelled() }}
|
||||||
runs-on: macos-13
|
runs-on: macos-13
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
59
.github/workflows/pr_check.yml
vendored
59
.github/workflows/pr_check.yml
vendored
|
@ -64,62 +64,3 @@ jobs:
|
||||||
bash ./.github/scripts/stub_iap.sh
|
bash ./.github/scripts/stub_iap.sh
|
||||||
flutter pub get
|
flutter pub get
|
||||||
flutter analyze lib --fatal-infos
|
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
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
org.gradle.jvmargs=-Xmx2048M
|
org.gradle.jvmargs=-Xmx1536M
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
android.defaults.buildfeatures.buildconfig=true
|
android.defaults.buildfeatures.buildconfig=true
|
||||||
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
- Performance improvements and bug fixes.
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: lightmeter
|
name: lightmeter
|
||||||
description: Lightmeter app inspired by Material 3 design system.
|
description: Lightmeter app inspired by Material 3 design system.
|
||||||
publish_to: "none"
|
publish_to: "none"
|
||||||
version: 1.0.1+56
|
version: 1.0.0+55
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=3.0.0 <4.0.0"
|
sdk: ">=3.0.0 <4.0.0"
|
||||||
|
|
Loading…
Reference in a new issue