From 78f51012be8f4c1fc5f946a01c51b6a6919061ae Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Tue, 9 May 2023 13:14:44 +0800 Subject: [PATCH] Use new pipeline --- .workflow/testPipeline.yml | 42 -------------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 .workflow/testPipeline.yml diff --git a/.workflow/testPipeline.yml b/.workflow/testPipeline.yml deleted file mode 100644 index d024b49..0000000 --- a/.workflow/testPipeline.yml +++ /dev/null @@ -1,42 +0,0 @@ -version: '1.0' -name: test-pipeline -displayName: 测试 -stages: - - stage: - name: test - displayName: 安装使用测试nvm-cn - steps: - - step: shell@agent # Must provide plugin: https://help.gitee.com/gitee-go/plugin/shell - name: install_nvm-cn - displayName: 安装 - script: bash -c "$(curl -fsSL https://gitee.com/RubyKids/nvm-cn/raw/main/install.sh)" - - - step: shell@agent - name: test_nvm-cn - displayName: 测试 - script: | - if [ -f "$HOME/.nvm/nvm.sh" ];then - echo "=> 安装目录完好" - else - echo "=> 安装目录不完整" - exit 1 - fi - - if [ $(command -v nvm) ];then - echo "=> nvm命令执行成功" - else - echo "=> nvm命令无法执行" - exit 2 - fi - dependsOn: install_nvm-cn - -triggers: - - pr: - branches: - include: - - main - - dev - - push: - branches: - include: - - .*