feat: Add CI/CD workflows for building, testing, and deploying Android and iOS applications.

This commit is contained in:
mso7nueh
2026-02-26 11:18:51 +03:00
parent b0a167b9e9
commit 5fae3eb5e8
4 changed files with 16 additions and 16 deletions

View File

@@ -3,7 +3,7 @@ name: Eatvio App Android Test
on: [ pull_request ]
env:
flutter_version: "3.38.9"
flutter_version: "3.41.2"
java_version: "21.x"
flutter_channel: "stable"
my_local_cache_dir: "/opt/hostedtoolcache/"
@@ -14,10 +14,10 @@ jobs:
runs-on: [ dev-office ]
steps:
- uses: actions/checkout@v3
- uses: github.com/actions/checkout@v3
- name: Checkout env repository
uses: actions/checkout@v3
uses: github.com/actions/checkout@v3
with:
repository: mso7nueh/eatvio_app_env
path: env_repo
@@ -62,7 +62,7 @@ jobs:
key: ${{ runner.os }}-cache-sdk
- name: Set up JDK
uses: actions/setup-java@v3
uses: github.com/actions/setup-java@v3
with:
distribution: "zulu"
java-version: ${{ env.java_version }}
@@ -100,7 +100,7 @@ jobs:
echo "ANDROID_HOME=${{ env.my_local_cache_dir }}Android/Sdk" >> $GITHUB_ENV
- id: flutter-action
uses: actions/flutter-action@v2
uses: github.com/actions/flutter-action@v2
with:
channel: ${{ env.flutter_channel }}
flutter-version: ${{ env.flutter_version }}
@@ -220,7 +220,7 @@ jobs:
echo "APK_NAME=$APK_NAME" >> $GITHUB_ENV
- name: Upload APK artifact
uses: actions/upload-artifact@v3
uses: github.com/actions/upload-artifact@v3
with:
name: ${{ env.APK_NAME }}
path: ${{ env.APK_NAME }}