Skip to content

Commit 46bd8ab

Browse files
authored
Initial commit
0 parents  commit 46bd8ab

File tree

13 files changed

+781
-0
lines changed

13 files changed

+781
-0
lines changed

.github/FUNDING.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are supported funding model platforms
2+
3+
github: Arlodotexe
4+
patreon: arlodotexe
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom: http://paypal.me/arlogodfrey
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: 'Quick Start: Background, Problem, Solution'
3+
about: 'A basic skeleton template for all issue types '
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
# Background
11+
12+
13+
# Problem
14+
15+
16+
# Solution

.github/workflows/build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This is a basic workflow to help you get started with Actions
2+
name: Build Validation
3+
4+
# Controls when the action will run.
5+
on:
6+
# Triggers the workflow on push or pull request events but only for the main branch
7+
push:
8+
branches: [ main ]
9+
pull_request:
10+
branches: [ main ]
11+
12+
# Allows you to run this workflow manually from the Actions tab
13+
workflow_dispatch:
14+
15+
jobs:
16+
build:
17+
# The type of runner that the job will run on
18+
runs-on: ubuntu-latest
19+
20+
# Steps represent a sequence of tasks that will be executed as part of the job
21+
steps:
22+
- name: Setup .NET
23+
uses: actions/setup-dotnet@v2
24+
with:
25+
dotnet-version: 8.0.x
26+
27+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
28+
- name: Checkout Repository
29+
uses: actions/checkout@v2
30+
31+
- name: dotnet build
32+
run: dotnet build /r
33+
34+
- name: dotnet test
35+
run: dotnet test
36+

.github/workflows/publish.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish to Nuget
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
9+
10+
jobs:
11+
build-and-publish:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- name: Setup .NET
17+
uses: actions/setup-dotnet@v2
18+
with:
19+
dotnet-version: 8.0.x
20+
21+
- name: Restore dependencies
22+
run: dotnet restore
23+
24+
- name: Build
25+
run: dotnet build --no-restore -p:Configuration=Release
26+
27+
- name: Publish to NuGet
28+
run: dotnet nuget push "/home/runner/work/OwlCore.Template/OwlCore.Template/src/bin/Release/OwlCore.Template.*.*.*.nupkg" --skip-duplicate --api-key ${{secrets.NUGET_KEY}} --source https://api.nuget.org/v3/index.json
29+

0 commit comments

Comments
 (0)