Skip to content

#19 another go at making the yaml work #3

#19 another go at making the yaml work

#19 another go at making the yaml work #3

Workflow file for this run

name: Branch actions
on: push
jobs:
build_DataAccess:
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 'DataAccess.Repository'
# Build project
- name: Build
run: dotnet build --configuration Release 'DataAccess.Repository'
# Execute all unit tests in the solution
- name: Execute unit tests
run: dotnet test