From e6ed508a3af475cc0900030990cb866073d94c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?osc=E5=8D=81=E6=9C=88?= <1065194327@qq.com> Date: Thu, 21 Oct 2021 11:08:50 +0000 Subject: [PATCH 1/2] add upload.yml for Gitee Go created_at: 2021-10-21 19:08:50 --- .workflow/upload.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .workflow/upload.yml diff --git a/.workflow/upload.yml b/.workflow/upload.yml new file mode 100644 index 0000000..5f87559 --- /dev/null +++ b/.workflow/upload.yml @@ -0,0 +1,39 @@ +version: 1.0 +name: repo-upload +displayName: repo-upload +triggers: + push: + branches: + include: + - master + - ma* +variables: + env1: ant-build +stages: + - stage: + displayName: 制品上传阶段 + name: ${{env1}} + steps: + - step: build@ant + name: ${{env1}} + displayName: ${{env1}} + antVersion: 1.8.4 + jdkVersion: 8 + artifacts: # 用户定义的构建产出文件,可选参数(用户如无产出物可不配置),支持多个文件产出。 + - name: hello_artifact # 产出物名称定义,在当前流水线配置中为产出物的唯一标识,用户自定义用于下游引用。此处以产出物命名为 artifcat_name 为例 + path: # 产出物打包内容,内容为具体文件或目录列表 + - hello.txt + commands: + - group1: + - echo hello1 > hello.txt + - echo hello2 >> hello.txt + - group2: + - echo hello3 >> hello.txt + - echo hello4 >> hello.txt + - step: publish@general_artifacts + name: upload_art + displayName: upload_art + dependArtifact: hello_artifact # 依赖的上游输出的制品名 + artifactRepository: default # 制品仓库唯一标示 + artifactName: art # 上到到制品仓库后的名称 + dependsOn: ${{env1}} -- Gitee From acf76ddbf273c6f42f7bd73fa85ffea5801eafd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?osc=E5=8D=81=E6=9C=88?= <1065194327@qq.com> Date: Thu, 21 Oct 2021 11:16:24 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20hejfb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hejfb/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 hejfb/.keep diff --git a/hejfb/.keep b/hejfb/.keep new file mode 100644 index 0000000..e69de29 -- Gitee