feature/ci-deploy #1
@ -13,14 +13,12 @@ jobs:
|
|||||||
- uses: https://github.com/actions/setup-java@v1
|
- uses: https://github.com/actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: '12.x'
|
java-version: '12.x'
|
||||||
- uses: https://github.com/subosito/flutter-action@v1
|
- uses: https://github.com/subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
flutter-version: '1.7.8+hotfix.4'
|
channel: stable
|
||||||
|
flutter-version: 3.19.0
|
||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
# - run: flutter test
|
# - run: flutter test
|
||||||
- run: flutter build apk --debug --split-per-abi
|
- name: Build
|
||||||
- name: Push APK to Releases
|
run: flutter build web
|
||||||
uses: https://github.com/ncipollo/release-action@v1
|
# dumps onto publish_dir: ./build/web
|
||||||
with:
|
|
||||||
artifacts: "build/app/outputs/apk/debug/*.apk"
|
|
||||||
token: ${{ secrets.TOKEN }}
|
|
||||||
|
20
.gitea/workflows/build-web.yaml
Normal file
20
.gitea/workflows/build-web.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
on: push
|
||||||
|
name: Test, Build and Release web
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build Web
|
||||||
|
runs-on: k8s
|
||||||
|
steps:
|
||||||
|
- uses: https://github.com/actions/checkout@v1
|
||||||
|
- uses: https://github.com/subosito/flutter-action@v2
|
||||||
|
with:
|
||||||
|
channel: stable
|
||||||
|
flutter-version: 3.19.0
|
||||||
|
- run: flutter pub get
|
||||||
|
# - run: flutter test
|
||||||
|
- run: flutter build apk --debug --split-per-abi
|
||||||
|
- name: Push APK to Releases
|
||||||
|
uses: https://github.com/ncipollo/release-action@v1
|
||||||
|
with:
|
||||||
|
artifacts: "build/app/outputs/apk/debug/*.apk"
|
||||||
|
token: ${{ secrets.TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user