cleaner ci
Some checks failed
Build and push docker image / Build (pull_request) Failing after 40s
Build and release APK / Build APK (pull_request) Failing after 5m52s
Build web / Build Web (pull_request) Successful in 1m15s

This commit is contained in:
2024-06-03 17:36:13 +02:00
parent d5e0b7d51a
commit 5816d615d0
7 changed files with 81 additions and 15 deletions

View File

@@ -42,20 +42,20 @@ jobs:
- run: flutter pub get
working-directory: ./frontend
- run: flutter build apk --release --split-per-abi
- name: Add required secrets
run: |
echo ${{ secrets.ANDROID_SECRETS_BASE64 }} | base64 -d > android/secrets.properties
working-directory: ./frontend
- name: Release APK
uses: https://gitea.com/akkuman/gitea-release-action@v1
- run: flutter build apk --release --split-per-abi --build-number=${{ gitea.run_number }}
working-directory: ./frontend
- name: Upload APKs to artifacts
uses: https://gitea.com/actions/upload-artifact@v4
with:
files: ./frontend/build/app/outputs/flutter-apk/*.apk
name: Testing release
release_name: testing
tag: testing
tag_name: testing
release_body: "This is a testing release."
prerelease: true
token: ${{ secrets.GITEA_TOKEN }}
env:
NODE_OPTIONS: '--experimental-fetch'
name: app-release
path: frontend/build/app/outputs/flutter-apk/
if-no-files-found: error
retention-days: 15