is the android sdk even needed?
This commit is contained in:
parent
a67a8fad20
commit
7223856d1e
@ -1,5 +1,5 @@
|
|||||||
on: push
|
on: push
|
||||||
name: Test, Build and Release apk
|
name: Build and release APK
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build APK
|
name: Build APK
|
||||||
@ -9,7 +9,8 @@ jobs:
|
|||||||
- name: Install prerequisites
|
- name: Install prerequisites
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y xz-utils unzip
|
# sudo apt-get install -y xz-utils unzip
|
||||||
|
|
||||||
- uses: https://gitea.com/actions/checkout@v4
|
- uses: https://gitea.com/actions/checkout@v4
|
||||||
|
|
||||||
- uses: https://github.com/actions/setup-java@v4
|
- uses: https://github.com/actions/setup-java@v4
|
||||||
@ -22,19 +23,22 @@ jobs:
|
|||||||
channel: stable
|
channel: stable
|
||||||
flutter-version: 3.19.6
|
flutter-version: 3.19.6
|
||||||
cache: true
|
cache: true
|
||||||
- name: Setup Android SDK
|
|
||||||
uses: https://github.com/android-actions/setup-android@v3
|
# - name: Setup Android SDK
|
||||||
|
# uses: https://github.com/android-actions/setup-android@v3
|
||||||
|
|
||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
# - run: flutter test
|
|
||||||
- run: flutter build apk --debug --split-per-abi
|
- run: flutter build apk --debug --split-per-abi
|
||||||
|
|
||||||
- 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:
|
||||||
files: build/app/outputs/flutter-apk/*.apk
|
files: build/app/outputs/flutter-apk/*.apk
|
||||||
|
name: Testing release
|
||||||
|
release_name: testing
|
||||||
tag: testing
|
tag: testing
|
||||||
release_name: Testing release
|
tag_name: testing
|
||||||
release_body: "This is a testing release."
|
release_body: "This is a testing release."
|
||||||
prerelease: true
|
prerelease: true
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user