You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by sh...@apache.org on 2023/03/23 18:16:50 UTC

[daffodil-vscode] branch main updated: CI updates:

This is an automated email from the ASF dual-hosted git repository.

shanedell pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil-vscode.git


The following commit(s) were added to refs/heads/main by this push:
     new ffa1421  CI updates:
ffa1421 is described below

commit ffa14213ee72a132211cd4484190af599e27c03a
Author: Shane Dell <sh...@gmail.com>
AuthorDate: Tue Mar 21 11:36:51 2023 -0400

    CI updates:
    
    - Update workflow to run yarn package after yarn test.
    - Before running yarn package we remove all compiled sbt code.
      - This seemed to cause issues every so often in CI. It would complain about something already existing.
---
 .github/workflows/CI.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 640c8af..43bc158 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -111,8 +111,11 @@ jobs:
       - run: $SBT compile # used to initialize sbt, if not done sbt universal:packageBin ran by yarn package times out -- windows only
         if: runner.os == 'Windows'
       - run: yarn install
-      - run: yarn package
       - run: xvfb-run -a yarn test
         if: runner.os == 'Linux'
       - run: yarn test
         if: runner.os != 'Linux'
+      - name: Package
+        run: |
+          rm -rf **/target
+          yarn package