Skip to content

Draft the commands #195

Draft the commands

Draft the commands #195

Workflow file for this run

name: build DicomGrep
on:
push:
branches-ignore:
- 'archive'
paths-ignore:
- 'README.md'
- 'LICENSE'
pull_request:
branches-ignore:
- 'archive'
paths-ignore:
- 'README.md'
- 'LICENSE'
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
configuration:
- Debug
#- Release
dotnet-version:
- '6.0.x'
# for create new releases
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration ${{ matrix.configuration }} --output bin/net${{ matrix.dotnet-version }}/${{ matrix.configuration }}
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Upload articraft
uses: actions/upload-artifact@v3
with:
name: DicomGrep-${{ matrix.configuration }}
path: bin/net${{ matrix.dotnet-version }}/${{ matrix.configuration }}