From d1390bbabaa746d01835b69563fce1006704fd0c Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Tue, 17 Dec 2024 09:50:54 +0800 Subject: [PATCH] chore: use --locked to install duckscript --- .github/workflows/android.yaml | 2 +- .github/workflows/ios.yaml | 2 +- .github/workflows/linux.yaml | 2 +- .github/workflows/macos.yaml | 6 +++--- .github/workflows/release.yml | 6 +++--- .github/workflows/windows.yaml | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/android.yaml b/.github/workflows/android.yaml index 4953464..82ecb71 100644 --- a/.github/workflows/android.yaml +++ b/.github/workflows/android.yaml @@ -108,7 +108,7 @@ jobs: working-directory: frontend run: | rustup target install aarch64-linux-android - cargo install --force duckscript_cli + cargo install duckscript_cli --force --locked cargo install --version 3.3.0 cargo-ndk sudo wget -qO /etc/apt/trusted.gpg.d/dart_linux_signing_key.asc https://dl-ssl.google.com/linux/linux_signing_key.pub sudo wget -qO /etc/apt/sources.list.d/dart_stable.list https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list diff --git a/.github/workflows/ios.yaml b/.github/workflows/ios.yaml index 7ff784a..f5ab6dc 100644 --- a/.github/workflows/ios.yaml +++ b/.github/workflows/ios.yaml @@ -114,7 +114,7 @@ jobs: working-directory: frontend run: | rustup target install aarch64-apple-ios - cargo install --force duckscript_cli + cargo install duckscript_cli --force --locked cargo install --force cargo-lipo cargo make appflowy-flutter-deps-tools shell: bash diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index f3b6978..9100f68 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -98,7 +98,7 @@ jobs: sudo apt-get -y install alien sudo apt install libmpv-dev mpv source $HOME/.cargo/env - cargo install --force duckscript_cli + cargo install duckscript_cli --force --locked rustup target add ${{ matrix.target }} shell: bash diff --git a/.github/workflows/macos.yaml b/.github/workflows/macos.yaml index 3446c1c..d271f43 100644 --- a/.github/workflows/macos.yaml +++ b/.github/workflows/macos.yaml @@ -78,7 +78,7 @@ jobs: - name: Install prerequisites working-directory: frontend run: | - cargo install --force duckscript_cli + cargo install duckscript_cli --force --locked - name: Generate env file working-directory: frontend/appflowy_flutter @@ -176,7 +176,7 @@ jobs: - name: Install prerequisites working-directory: frontend run: | - cargo install --force duckscript_cli + cargo install duckscript_cli --force --locked - name: Generate env file working-directory: frontend/appflowy_flutter @@ -275,7 +275,7 @@ jobs: - name: Install prerequisites working-directory: frontend run: | - cargo install --force duckscript_cli + cargo install duckscript_cli --force --locked - name: Generate env file working-directory: frontend/appflowy_flutter diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ecfa4d..cc3560c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -100,7 +100,7 @@ jobs: run: | vcpkg integrate install cargo install --force cargo-make - cargo install --force duckscript_cli + cargo install duckscript_cli --force --locked - name: Build Windows app working-directory: frontend @@ -168,7 +168,7 @@ jobs: working-directory: frontend run: | cargo install --force cargo-make - cargo install --force duckscript_cli + cargo install duckscript_cli --force --locked - name: Build AppFlowy working-directory: frontend @@ -274,7 +274,7 @@ jobs: sudo apt install libmpv-dev mpv source $HOME/.cargo/env cargo install --force cargo-make - cargo install --force duckscript_cli + cargo install duckscript_cli --force --locked rustup target add ${{ matrix.job.target }} - name: Install gcc-aarch64-linux-gnu diff --git a/.github/workflows/windows.yaml b/.github/workflows/windows.yaml index f949c14..616615f 100644 --- a/.github/workflows/windows.yaml +++ b/.github/workflows/windows.yaml @@ -68,7 +68,7 @@ jobs: working-directory: frontend run: | vcpkg integrate install - cargo install --force duckscript_cli + cargo install duckscript_cli --force --locked - name: Generate env file working-directory: frontend/appflowy_flutter