Skip to content

Commit

Permalink
#19 add HotChocolate to the yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian-Webster committed Dec 6, 2023
1 parent f842716 commit 42ebbc5
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,30 @@ jobs:
- name: Build
run: dotnet build --configuration Release 'DataAccess.Repository'

# Execute all unit tests in the solution
- name: Execute unit tests
run: dotnet test
build_HotChococlateExtension:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

# Set up local NuGet repo
- name: Setup GitHub NuGet
run: dotnet nuget add source --username USERNAME --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/Ian-Webster/index.json"

# Resource NuGet dependencies
- name: Restore dependencies
run: dotnet restore 'Extensions/DataAccess.Repository.HotChocolate'

# Build project
- name: Build
run: dotnet build --configuration Release 'Extensions/DataAccess.Repository.HotChocolate'

0 comments on commit 42ebbc5

Please sign in to comment.