mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
ci: use linux vm for dart unit test (#3991)
* chore: use the faster linux vm * chore: download artifact * chore: make it work --------- Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
This commit is contained in:
@ -263,25 +263,33 @@ script = [
|
||||
]
|
||||
script_runner = "@duckscript"
|
||||
|
||||
[tasks.code_generation]
|
||||
[tasks.pub_get]
|
||||
script_runner = "@shell"
|
||||
script = ["""
|
||||
cd appflowy_flutter
|
||||
flutter clean
|
||||
flutter pub get
|
||||
flutter packages pub get
|
||||
cd ../
|
||||
"""]
|
||||
|
||||
[tasks.pub_get.windows]
|
||||
script_runner = "@duckscript"
|
||||
script = ["""
|
||||
cd ./appflowy_flutter/
|
||||
exec cmd.exe /c flutter clean
|
||||
exec cmd.exe /c flutter pub get
|
||||
cd ../
|
||||
"""]
|
||||
|
||||
[tasks.code_generation]
|
||||
script_runner = "@shell"
|
||||
script = ["""
|
||||
sh scripts/code_generation/generate.sh
|
||||
"""]
|
||||
|
||||
[tasks.code_generation.windows]
|
||||
script_runner = "@duckscript"
|
||||
script = ["""
|
||||
cd ./appflowy_flutter/
|
||||
exec cmd.exe /c flutter clean
|
||||
exec cmd.exe /c flutter pub get
|
||||
exec cmd.exe /c flutter packages pub get
|
||||
cd ../
|
||||
exec scripts/code_generation/generate.cmd
|
||||
"""]
|
||||
|
||||
|
Reference in New Issue
Block a user