final building cleanup
This commit is contained in:
parent
656c606493
commit
cb33f315a0
@ -28,3 +28,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: backend
|
context: backend
|
||||||
tags: git.kluster.moll.re/renoll/fast_network_navigation/backend:latest
|
tags: git.kluster.moll.re/renoll/fast_network_navigation/backend:latest
|
||||||
|
push: true
|
||||||
|
@ -2,6 +2,9 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
paths:
|
||||||
|
- frontend/**
|
||||||
|
|
||||||
|
|
||||||
name: Build and release APK
|
name: Build and release APK
|
||||||
|
|
||||||
@ -38,7 +41,6 @@ jobs:
|
|||||||
- run: flutter build apk --debug --split-per-abi
|
- run: flutter build apk --debug --split-per-abi
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
|
|
||||||
|
|
||||||
- name: Release APK
|
- name: Release APK
|
||||||
uses: https://gitea.com/akkuman/gitea-release-action@v1
|
uses: https://gitea.com/akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
|
@ -2,13 +2,16 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
paths:
|
||||||
|
- frontend/**
|
||||||
|
|
||||||
|
|
||||||
name: Build web
|
name: Build web
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build Web
|
name: Build Web
|
||||||
runs-on: k8s
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install prerequisites
|
- name: Install prerequisites
|
||||||
@ -27,6 +30,5 @@ jobs:
|
|||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
|
|
||||||
|
|
||||||
- run: flutter build web
|
- run: flutter build web
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
on:
|
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
|
|
||||||
name: Test code
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
name: Test code
|
|
||||||
runs-on: k8s
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Install prerequisites
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y xz-utils
|
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- uses: https://github.com/subosito/flutter-action@v2
|
|
||||||
with:
|
|
||||||
channel: stable
|
|
||||||
flutter-version: 3.19.6
|
|
||||||
cache: true
|
|
||||||
|
|
||||||
- run: flutter pub get
|
|
||||||
working-directory: ./frontend
|
|
||||||
|
|
||||||
- run: flutter test
|
|
||||||
working-directory: ./frontend
|
|
Loading…
x
Reference in New Issue
Block a user