Skip to content

Commit

Permalink
#19 test yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian-Webster committed Dec 6, 2023
1 parent c71b34a commit ae1ce84
Showing 1 changed file with 6 additions and 33 deletions.
39 changes: 6 additions & 33 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,9 @@ on:
paths:
- 'DataAccess/DataAccess.Repository/**'
- 'DataAccess/Extensions/DataAccess.Repository.HotChocolate/**'

jobs:

build:

runs-on: ubuntu-latest

strategy:
matrix:
project: ['DataAccess.Repository', 'DataAccess.Repository.HotChocolate']

steps:
- name: Checkout
uses: actions/checkout@v3

# 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 'DataAccess/${{ matrix.project }}'

# Build project
- name: Build
run: dotnet build --configuration Release 'DataAccess/${{ matrix.project }}'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Debug
run: echo "Hello, debugging!"

0 comments on commit ae1ce84

Please sign in to comment.