Skip to content

Commit

Permalink
added csharp script and gitmodule
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldboyd committed Apr 28, 2021
1 parent 42f8b14 commit 04d5053
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/csharp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build, Test & Package NET SDK

on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
inputs:
packageVersion:
description: "Package Version"
required: true
default: "1.0.0"

jobs:
nuget:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: 'recursive'
- run: dotnet restore ./sdks/dotnet
- run: dotnet test --configuration Release ./sdks/dotnet/Trinsic.Sdk.Tests/
- run: dotnet pack -c Release ./sdks/dotnet/Trinsic.Sdk/
- uses: actions/upload-artifact@v2
with:
name: nuget
path: |
./dotnet/**/*.nupkg
./dotnet/**/*.snupkg
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "didcomm-v2"]
path = didcomm-v2
url = [email protected]:trinsic-id/didcomm-v2.git
[submodule "ld-proofs-dotnet"]
path = ld-proofs-dotnet
url = https://github.com/trinsic-id/ld-proofs-dotnet
1 change: 1 addition & 0 deletions didcomm-v2
Submodule didcomm-v2 added at 766f48
1 change: 1 addition & 0 deletions ld-proofs-dotnet
Submodule ld-proofs-dotnet added at 1b0e41

0 comments on commit 04d5053

Please sign in to comment.