Skip to content

Commit 5b3daff

Browse files
authored
Merge pull request #41 from ajuna-network/monthly_updates_04_25
added Mythos
2 parents 185264b + 47ea2e3 commit 5b3daff

File tree

538 files changed

+103134
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

538 files changed

+103134
-0
lines changed

.github/workflows/publish_mythos.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: publish Mythos.NET
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
paths-ignore:
7+
- '*.md'
8+
9+
jobs:
10+
build:
11+
name: build & test & publish
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
17+
##
18+
# Setup
19+
# Setup multiple .NET versions so we can build against all referenced .NET versions.
20+
##
21+
- name: Setup .NET 6.0.x
22+
uses: actions/setup-dotnet@v2
23+
with:
24+
dotnet-version: 6.0.x
25+
26+
##
27+
# Dependencies
28+
# Restore the project and its dependencies.
29+
##
30+
- name: Install dependencies
31+
run: dotnet restore Substrate.Mythos.NET
32+
33+
##
34+
# Dependencies
35+
# Restore the project and its dependencies.
36+
##
37+
- name: Build Mythos .NET
38+
run: |
39+
dotnet build Substrate.Mythos.NET --configuration Release
40+
41+
##
42+
# Publishing
43+
# Publish all NuGet packages from Substrate Chains .NET
44+
##
45+
- name: Publish Substrate Mythos .NET API Extension
46+
id: publish_nuget
47+
uses: alirezanet/[email protected]
48+
with:
49+
# Filepath of the project to be packaged, relative to root of repository
50+
PROJECT_FILE_PATH: Substrate.Mythos.NET/Substrate.Mythos.NET.NetApiExt/Substrate.Mythos.NET.NetApiExt.csproj
51+
# NuGet package id, used for version detection & defaults to project name
52+
PACKAGE_NAME: Substrate.Mythos.NET.Extension
53+
# API key to authenticate with NuGet server
54+
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"substrate.dotnet": {
6+
"version": "0.6.9",
7+
"commands": [
8+
"substrate"
9+
],
10+
"rollForward": false
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)