Tried flutter action
Some checks failed
Pull Request Pipeline / lint (pull_request) Failing after 2s
Pull Request Pipeline / build (pull_request) Has been cancelled
Pull Request Pipeline / test (pull_request) Has been cancelled

This commit is contained in:
2026-01-23 16:57:58 +01:00
parent 16432a3eea
commit bbbc1d6ccd

View File

@@ -4,26 +4,7 @@ on:
pull_request:
jobs:
build-ios:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Flutter (wget)
run: |
wget --show-progress --progress=bar:force:noscroll:giga https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.38.2-stable.tar.xz
tar xf flutter_linux_3.38.2-stable.tar.xz
git config --global --add safe.directory "$(pwd)/flutter"
echo "$(pwd)/flutter/bin" >> $GITEA_PATH
- name: Get dependencies
run: flutter pub get
- name: Build IPA
run: flutter build ipa --no-codesign
build-android:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
@@ -60,12 +41,18 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Flutter (wget)
run: |
wget --show-progress --progress=bar:force:noscroll:giga https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.38.2-stable.tar.xz
tar xf flutter_linux_3.38.2-stable.tar.xz
git config --global --add safe.directory "$(pwd)/flutter"
echo "$(pwd)/flutter/bin" >> $GITEA_PATH
- name: Set up Flutter
uses: github.com/subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.19.0
#- name: Install Flutter (wget)
# run: |
# wget --show-progress --progress=bar:force:noscroll:giga https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.38.2-stable.tar.xz
# tar xf flutter_linux_3.38.2-stable.tar.xz
# git config --global --add safe.directory "$(pwd)/flutter"
# echo "$(pwd)/flutter/bin" >> $GITEA_PATH
- name: Get dependencies
run: flutter pub get