-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bca1757
commit 0a8dd87
Showing
494 changed files
with
83,417 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: publish KILT.NET | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
paths-ignore: | ||
- '*.md' | ||
|
||
jobs: | ||
build: | ||
name: build & test & publish | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
## | ||
# Setup | ||
# Setup multiple .NET versions so we can build against all referenced .NET versions. | ||
## | ||
- name: Setup .NET 6.0.x | ||
uses: actions/setup-dotnet@v2 | ||
with: | ||
dotnet-version: 6.0.x | ||
|
||
## | ||
# Dependencies | ||
# Restore the project and its dependencies. | ||
## | ||
- name: Install dependencies | ||
run: dotnet restore Substrate.KILT.NET | ||
|
||
## | ||
# Dependencies | ||
# Restore the project and its dependencies. | ||
## | ||
- name: Build KILT .NET | ||
run: | | ||
dotnet build Substrate.KILT.NET --configuration Release | ||
## | ||
# Publishing | ||
# Publish all NuGet packages from Substrate Chains .NET | ||
## | ||
- name: Publish Substrate KILT .NET API Extension | ||
id: publish_nuget | ||
uses: alirezanet/publish-nuget@v3.0.4 | ||
with: | ||
# Filepath of the project to be packaged, relative to root of repository | ||
PROJECT_FILE_PATH: Substrate.KILT.NET/Substrate.KILT.NET.NetApiExt/Substrate.KILT.NET.NetApiExt.csproj | ||
# NuGet package id, used for version detection & defaults to project name | ||
PACKAGE_NAME: Substrate.KILT.NET.Extension | ||
# API key to authenticate with NuGet server | ||
NUGET_KEY: ${{secrets.NUGET_API_KEY}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"version": 1, | ||
"isRoot": true, | ||
"tools": { | ||
"substrate.dotnet": { | ||
"version": "0.4.4", | ||
"commands": [ | ||
"substrate" | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.