Skip to content

pipeline

pipeline #4

Workflow file for this run

name: CI
on:
push:
branches:
- setup-cicd-pipeline
pull_request:
branches:
- setup-cicd-pipeline
jobs:
build:
env:
BUILD_CONFIG: 'Release'
SOLUTION: 'src/Hyperledger.Aries.sln'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup NuGet
uses: NuGet/[email protected]
- name: Restore dependencies
run: nuget restore $SOLUTION
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 3.1.x
- name: Build
run: dotnet build $SOLUTION --configuration $BUILD_CONFIG --no-restore
#- name: Run tests
#run: dotnet test /p:Configuration=$env:BUILD_CONFIG --no-restore --no-build --verbosity normal
#- name: Publish
#run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}