From 858fc48274103227cff0d61645eae2e420438dea Mon Sep 17 00:00:00 2001 From: PaulPickhardt Date: Tue, 28 Nov 2023 08:38:48 +0100 Subject: [PATCH] Fix xcodecloud and github workflow script --- .github/workflows/dev.yaml | 4 ++-- ios/ci_scripts/ci_post_clone.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dev.yaml b/.github/workflows/dev.yaml index ab12c1de4..ae50443f2 100644 --- a/.github/workflows/dev.yaml +++ b/.github/workflows/dev.yaml @@ -12,7 +12,7 @@ concurrency: jobs: test: runs-on: self-hosted - container: cirrusci/flutter:3.7.3 + container: ghcr.io/cirruslabs/flutter:3.16.0 steps: - uses: actions/checkout@v2 - name: Run unit tests @@ -23,7 +23,7 @@ jobs: distribute: runs-on: self-hosted needs: test - container: cirrusci/flutter:3.7.3 + container: ghcr.io/cirruslabs/flutter:3.16.0 steps: - uses: actions/checkout@v2 - name: Build the Android app bundle diff --git a/ios/ci_scripts/ci_post_clone.sh b/ios/ci_scripts/ci_post_clone.sh index 9b8ca920e..c5273f9f0 100755 --- a/ios/ci_scripts/ci_post_clone.sh +++ b/ios/ci_scripts/ci_post_clone.sh @@ -9,14 +9,14 @@ set -x set -e # The default execution directory of this script is the ci_scripts directory. -cd $CI_WORKSPACE # change working directory to the root of your cloned repo. +cd $CI_PRIMARY_REPOSITORY_PATH # change working directory to the root of your cloned repo. # Copy the .netrc to the home directory for mapbox cp .netrc $HOME/.netrc chmod 600 $HOME/.netrc # Install Flutter using git. -git clone https://github.com/flutter/flutter.git --depth 1 -b 3.7.3 $HOME/flutter +git clone https://github.com/flutter/flutter.git --depth 1 -b 3.16.0 $HOME/flutter export PATH="$PATH:$HOME/flutter/bin" # Install Flutter artifacts for iOS (--ios), or macOS (--macos) platforms.