mhabit - keep latest

This commit is contained in:
Licaon_Kter 2023-07-06 05:44:52 +00:00
parent 765a4e275c
commit 2486774c19

View file

@ -11,7 +11,7 @@ Donate: https://www.buymeacoffee.com/d49cb87qgww
AutoName: Table Habit
RepoType: git
Repo: https://github.com/FriesI23/mhabit
Repo: https://github.com/FriesI23/mhabit.git
Binaries: https://github.com/FriesI23/mhabit/releases/download/v%v%2B%c/app-release.apk
Builds:
@ -359,49 +359,6 @@ Builds:
- popd
- mv $repo/mhabit io.github.friesi23.mhabit
- versionName: 1.6.0
versionCode: 16
commit: f66f21005df59aadea74641a8dc02b34add2c535
submodules: true
sudo:
- apt-get update
- apt-get install -y openjdk-17-jdk-headless
- update-java-alternatives -a
- mkdir -p /home/runner/
- chown vagrant /home/runner/
output: build/app/outputs/flutter-apk/app-release.apk
rm:
- .vscode
- demo
- ios
prebuild:
- sed -i -e '/signingConfig /d' android/app/build.gradle
- export repo=/home/runner/work/mhabit
- mkdir -p $repo
- cd ..
- mv io.github.friesi23.mhabit $repo/mhabit
- pushd $repo/mhabit
- export PUB_CACHE=$(pwd)/.pub-cache
- .flutter/bin/flutter config --no-analytics
- .flutter/bin/flutter pub get
- popd
- mv $repo/mhabit io.github.friesi23.mhabit
scanignore:
- .flutter/packages/flutter_tools/gradle/flutter.gradle
- .flutter/bin/cache
scandelete:
- .flutter
- .pub-cache
build:
- export repo=/home/runner/work/mhabit
- cd ..
- mv io.github.friesi23.mhabit $repo/mhabit
- pushd $repo/mhabit
- export PUB_CACHE=$(pwd)/.pub-cache
- .flutter/bin/flutter build apk
- popd
- mv $repo/mhabit io.github.friesi23.mhabit
- versionName: 1.7.0
versionCode: 17
commit: 0d349bc35e210716ef8241c6c999a6393b0373b9