Hotfix: Pipeline Push Error #186

Merged
flixcoo merged 2 commits from hotifx/pipeline-push-error into development 2026-01-24 12:02:46 +00:00

View File

@@ -92,6 +92,7 @@ jobs:
run: | run: |
git config --global user.name "Gitea Actions [bot]" git config --global user.name "Gitea Actions [bot]"
git config --global user.email "actions@yannick-weigert.de" git config --global user.email "actions@yannick-weigert.de"
git pull origin ${{ gitea.ref_name }}
git add pubspec.yaml git add pubspec.yaml
git commit -m "Updated version number [skip ci]" git commit -m "Updated version number [skip ci]"
git push origin HEAD:${{ gitea.ref_name }} git push origin HEAD:${{ gitea.ref_name }}
@@ -103,15 +104,22 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install Flutter (wget) # Required for Flutter action
- name: Install jq
run: | 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 apt-get update
tar xf flutter_linux_3.38.2-stable.tar.xz apt-get install -y jq
git config --global --add safe.directory "$(pwd)/flutter"
echo "$(pwd)/flutter/bin" >> $GITEA_PATH - name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.38.6
- name: Get dependencies - name: Get dependencies
run: flutter pub get run: |
git config --global --add safe.directory /opt/hostedtoolcache/flutter/stable-3.38.6-x64
flutter pub get
- name: Generate oss_licenses.dart - name: Generate oss_licenses.dart
run: flutter pub run dart_pubspec_licenses:generate -o lib/presentation/views/main_menu/settings_view/licenses/oss_licenses.dart run: flutter pub run dart_pubspec_licenses:generate -o lib/presentation/views/main_menu/settings_view/licenses/oss_licenses.dart
@@ -123,6 +131,7 @@ jobs:
if [ -n "$(git status --porcelain lib test)" ]; then if [ -n "$(git status --porcelain lib test)" ]; then
git config --global user.name "Gitea Actions [bot]" git config --global user.name "Gitea Actions [bot]"
git config --global user.email "actions@yannick-weigert.de" git config --global user.email "actions@yannick-weigert.de"
git pull origin ${{ gitea.ref_name }}
git add lib test git add lib test
git commit -m "Updated licenses [skip ci]" git commit -m "Updated licenses [skip ci]"
git push origin HEAD:${{ gitea.ref_name }} git push origin HEAD:${{ gitea.ref_name }}