浏览代码

Create LocalPackages Directory

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

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

@@ -90,8 +90,17 @@ jobs:
         dotnet-version: 8.x
         dotnet-version: 8.x
         dotnet-quality: 'ga'
         dotnet-quality: 'ga'
 
 
-    - name: Pack Releae
-      run: dotnet pack --configuration Release --output ./bin/Release
+    - name: Create LocalPackages Directory
+      run: mkdir -p LocalPackages
+
+    - name: Pack Release
+      run: dotnet pack --configuration Release --output ./LocalPackages
+
+    - name: Restore dependencies
+      run: dotnet restore --source ./LocalPackages
+
+    - name: Build Release
+      run: dotnet build --configuration Release
 
 
 
 
     # Note: this step is currently not writing to the gist for some reason
     # Note: this step is currently not writing to the gist for some reason