Browse Source

Add build_release_consumer.

BDisp 10 months ago
parent
commit
e130bfdb75
1 changed files with 26 additions and 0 deletions
  1. 26 0
      .github/workflows/dotnet-core.yml

+ 26 - 0
.github/workflows/dotnet-core.yml

@@ -99,6 +99,32 @@ jobs:
         name: local_nuget_package
         path: ./local_packages/*.nupkg
 
+  build_release_consumer:
+    runs-on: ubuntu-latest
+    needs: build_release
+
+    steps:
+    - name: Checkout code
+      uses: actions/checkout@v4
+
+    - name: Setup .NET Core
+      uses: actions/setup-dotnet@v4
+      with:
+        dotnet-version: 8.x
+        dotnet-quality: 'ga'
+
+    - name: Download package artifact
+      uses: actions/download-artifact@v4
+      with:
+        name: local_nuget_package
+        path: ./local_packages
+
+    - name: Restore dependencies using downloaded package
+      run: dotnet restore --configfile nuget.config
+
+    - name: Build Release
+      run: dotnet build --configuration Release
+
 
     # Note: this step is currently not writing to the gist for some reason
     # - name: Create Test Coverage Badge