diff --git a/.github/workflows/csharp.yml b/.github/workflows/csharp.yml new file mode 100644 index 000000000..b3face7e7 --- /dev/null +++ b/.github/workflows/csharp.yml @@ -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 \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..d703b591f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "didcomm-v2"] + path = didcomm-v2 + url = git@github.com:trinsic-id/didcomm-v2.git +[submodule "ld-proofs-dotnet"] + path = ld-proofs-dotnet + url = https://github.com/trinsic-id/ld-proofs-dotnet diff --git a/didcomm-v2 b/didcomm-v2 new file mode 160000 index 000000000..766f48c58 --- /dev/null +++ b/didcomm-v2 @@ -0,0 +1 @@ +Subproject commit 766f48c587da7f409b9e80a196e422356909c114 diff --git a/ld-proofs-dotnet b/ld-proofs-dotnet new file mode 160000 index 000000000..1b0e41d7c --- /dev/null +++ b/ld-proofs-dotnet @@ -0,0 +1 @@ +Subproject commit 1b0e41d7c0e7215eda5cc9615e07bafa6c979c64