浏览代码

mucking with xclip

Charlie Kindel 2 年之前
父节点
当前提交
e110740937
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      .github/workflows/dotnet-core.yml

+ 3 - 2
.github/workflows/dotnet-core.yml

@@ -20,14 +20,15 @@ jobs:
         dotnet-version: 6.0.100
         dotnet-version: 6.0.100
 
 
     - name: Install dependencies
     - name: Install dependencies
-      run: dotnet restore
+      run: |
+        dotnet restore
+        sudo apt-get install xclip
 
 
     - name: Build Debug
     - name: Build Debug
       run: dotnet build --configuration Debug --no-restore
       run: dotnet build --configuration Debug --no-restore
 
 
     - name: Test
     - name: Test
       run: |
       run: |
-        apt install xclip
         xclip -version
         xclip -version
         dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"  --settings UnitTests/coverlet.runsettings
         dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"  --settings UnitTests/coverlet.runsettings
         mv -v UnitTests/TestResults/*/*.* UnitTests/TestResults/
         mv -v UnitTests/TestResults/*/*.* UnitTests/TestResults/