File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 uses : actions/checkout@v4
2828 - uses : ./
2929 with :
30- flutter-version : ${{ inputs.flutter-version || '3.29.0 ' }}
30+ flutter-version : ${{ inputs.flutter-version || '3.24.3 ' }}
3131 cache : true
3232 - run : dart --version
3333 shell : bash
Original file line number Diff line number Diff line change 9898 shell : bash
9999 run : |
100100 mkdir -p ${{ inputs.cache-path }} ${{ inputs.pub-cache-path }}
101- git clone -n -- depth= 1 ${{ inputs.git-source }} ${{ inputs.cache-path }}
101+ git clone -b ${{ inputs.flutter-version }} -- depth 1 ${{ inputs.git-source }} ${{ inputs.cache-path }}
102102 cd ${{ inputs.cache-path }}
103- git fetch --depth=1
104- git checkout origin/${{ inputs.flutter-version }}
105- git config --global --add safe.directory .
103+ git config --global --add safe.directory ${{ inputs.cache-path }}
106104 git gc --aggressive --prune=all
107105
108106 bin/flutter config --disable-analytics --no-cli-animations
You can’t perform that action at this time.
0 commit comments