cicd-stealth (#40)
Reviewed-on: #40 Co-authored-by: ange <ange@yw5n.com> Co-committed-by: ange <ange@yw5n.com>
This commit is contained in:
parent
3a7c9718dd
commit
2d3519592a
@ -10,8 +10,22 @@ jobs:
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
subpath: dialer/
|
||||
- uses: icing/flutter@main
|
||||
- uses: docker://git.gmoker.com/icing/flutter:main
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: icing-dialer-${{ gitea.ref_name }}-${{ gitea.run_id }}.apk
|
||||
path: build/app/outputs/flutter-apk/app-release.apk
|
||||
|
||||
build-stealth:
|
||||
runs-on: debian
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
subpath: dialer/
|
||||
- uses: docker://git.gmoker.com/icing/flutter:main
|
||||
with:
|
||||
args: "build apk --dart-define=STEALTH=true"
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: icing-dialer-stealth-${{ gitea.ref_name }}-${{ gitea.run_id }}.apk
|
||||
path: build/app/outputs/flutter-apk/app-release.apk
|
||||
|
@ -2,4 +2,9 @@
|
||||
|
||||
IMG=git.gmoker.com/icing/flutter:main
|
||||
|
||||
docker run --rm -v "$PWD:/app/" "$IMG" build apk
|
||||
if [ "$1" == '-s' ]; then
|
||||
OPT+=(--dart-define=STEALTH=true)
|
||||
fi
|
||||
|
||||
set -x
|
||||
docker run --rm -v "$PWD:/app/" "$IMG" build apk "${OPT[@]}"
|
||||
|
@ -2,4 +2,9 @@
|
||||
|
||||
IMG=git.gmoker.com/icing/flutter:main
|
||||
|
||||
docker run --rm -p 5037:5037 -v "$PWD:/app/" "$IMG" run
|
||||
if [ "$1" == '-s' ]; then
|
||||
OPT+=(--dart-define=STEALTH=true)
|
||||
fi
|
||||
|
||||
set -x
|
||||
docker run --rm -p 5037:5037 -v "$PWD:/app/" "$IMG" run "${OPTS[@]}"
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "Running Icing Dialer in STEALTH mode..."
|
||||
flutter run --dart-define=STEALTH=true
|
||||
flutter run --dart-define=STEALTH=true
|
||||
|
Loading…
Reference in New Issue
Block a user