Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
asimmon committed Jun 13, 2022
0 parents commit a969a8f
Show file tree
Hide file tree
Showing 25 changed files with 1,856 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[*]
indent_style = space
charset = utf-8

[*.{csproj,yml,yaml,conf}]
indent_size = 2

[Directory.Build.props]
indent_size = 2

[nuget.config]
indent_size = 2

[*.{css,scss,js,ps1}]
indent_size = 4

[*.cs]
indent_size = 4
tab_width = 4
max_line_length = off
15 changes: 15 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Set the default behavior, in case users don't have core.autocrlf set.
* text=auto

# Files that should always be normalized and converted to native line endings on checkout.
*.js text
*.json text
*.ts text
*.tsx text
*.md text
*.sh text eol=lf
*.conf text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.Dockerfile text eol=lf
LICENSE text eol=lf
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI build

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-dotnet@v2
with:
dotnet-version: |
3.1.x
6.0.x
- run: ./build.ps1
shell: pwsh

- uses: actions/upload-artifact@v3
with:
name: packages
path: ./.output/**/*
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: NuGet push

on:
push:
tags:
- "*.*.*"

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-dotnet@v2
with:
dotnet-version: |
3.1.x
6.0.x
- run: ./build.ps1 --target=push --nuget-api-key=${{ secrets.nuget_api_key }} --nuget-source=${{ secrets.nuget_source }}
shell: pwsh

- uses: actions/upload-artifact@v3
with:
name: packages
path: ./.output/**/*
Loading

0 comments on commit a969a8f

Please sign in to comment.