Skip to content

Commit

Permalink
#19 revert yaml + bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian-Webster committed Dec 6, 2023
1 parent 43545ab commit 61db46f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,39 @@
name: Build actions
name: Build Action

on:
push:
paths:
- 'DataAccess.Repository/**'
- 'Extensions/DataAccess.Repository.HotChocolate/**'
- '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
with:
fetch-depth: 0

# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
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
run: dotnet restore 'DataAccess/${{ matrix.project }}'

# Build project
- name: Build
run: dotnet build --configuration Release

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

run: dotnet build --configuration Release 'DataAccess/${{ matrix.project }}'
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Description>Extension to the DataAccess package adding GraphQL functionality via the HotChocolate library</Description>
<PackageProjectUrl>https://github.com/Ian-Webster/DataAccess/Extensions/DataAccess.Repository.HotChocolate</PackageProjectUrl>
<RepositoryUrl>https://github.com/Ian-Webster/DataAccess</RepositoryUrl>
<VersionPrefix>0.1.0</VersionPrefix>
<VersionPrefix>0.2.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
</PropertyGroup>

Expand Down

0 comments on commit 61db46f

Please sign in to comment.