diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a5c9385b6..cddf8d1ab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,7 +54,7 @@ jobs: - name: 修改pubspec.yaml run: | - sed -i "" "s/version: .*/version: ${{ steps.version.outputs.version }}/g" pubspec.yaml + sed -i "s/version: .*/version: ${{ steps.version.outputs.version }}/g" pubspec.yaml - name: flutter build apk run: flutter build apk --release --split-per-abi @@ -111,7 +111,7 @@ jobs: - name: 修改pubspec.yaml run: | - sed -i "s/version: .*/version: ${{ steps.version.outputs.version }}/g" pubspec.yaml + sed -i "" "s/version: .*/version: ${{ steps.version.outputs.version }}/g" pubspec.yaml - name: flutter build ipa run: |