WIP: CI/CD build apk #5
15
.gitea/workflows/apk.yaml
Normal file
15
.gitea/workflows/apk.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
on:
|
||||
push:
|
||||
#paths:
|
||||
# - dialer/**
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: debian
|
||||
container: git.gmoker.com/icing/flutter:main
|
||||
defaults:
|
||||
run:
|
||||
working-directory: dialer
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- run: flutter build apk
|
5
dialer/build.sh
Executable file
5
dialer/build.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
IMG=git.gmoker.com/icing/flutter:main
|
||||
|
||||
docker run --rm -v "$PWD:/app/" "$IMG" build apk
|
5
dialer/run.sh
Executable file
5
dialer/run.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
IMG=git.gmoker.com/icing/flutter:main
|
||||
|
||||
docker run --rm -p 5037:5037 -v "$PWD:/app/" "$IMG" run
|
Loading…
Reference in New Issue
Block a user