Skip to content

Commit e3d3ddb

Browse files
committed
fix: revert
1 parent cfdf566 commit e3d3ddb

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
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

action.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,9 @@ runs:
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

0 commit comments

Comments
 (0)