浏览代码

Remove build directory in ci

Arkadiusz Ryś 2 年之前
父节点
当前提交
d59006a122
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      .gitlab-ci.yml

+ 3 - 3
.gitlab-ci.yml

@@ -63,7 +63,8 @@ build-windows-exe:
     - ls -la dist
     - tree dist
     - mv dist/get.exe/* ./
-
+  after_script:
+    - rm -rf build # excluding build from artifacts doesn't work because of untracked being set to true
   rules:
     - if: $CI_COMMIT_TAG
     - if: $CI_PIPELINE_SOURCE == "push" || $CI_COMMIT_BRANCH == "dev"
@@ -74,5 +75,4 @@ build-windows-exe:
     untracked: true
     paths:
       - data
-    exclude:
-      - build
+