Skip to content

Commit

Permalink
adding KILT parachain
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfriend77 committed Sep 30, 2023
1 parent bca1757 commit 0a8dd87
Show file tree
Hide file tree
Showing 494 changed files with 83,417 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/publish_kilt.yml
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}}
12 changes: 12 additions & 0 deletions Substrate.KILT.NET/.config/dotnet-tools.json
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"
]
}
}
}
Loading

0 comments on commit 0a8dd87

Please sign in to comment.