mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
Create release-build.yml
This commit is contained in:
parent
0e07a0da68
commit
34a153e344
1 changed files with 26 additions and 0 deletions
26
.github/workflows/release-build.yml
vendored
Normal file
26
.github/workflows/release-build.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
name: Flutter CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: '12.x'
|
||||
- uses: subosito/flutter-action@v1
|
||||
with:
|
||||
channel: 'beta'
|
||||
- run: flutter pub get
|
||||
- run: flutter format --set-exit-if-changed .
|
||||
- run: flutter analyze .
|
||||
- run: flutter build apk
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: release-apk
|
||||
path: build/app/outputs/apk/release/app-release.apk
|
Loading…
Reference in a new issue