Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "build and test"
on:
pull_request:
branches:
- master
- dev
- develop
push:
branches:
- master
- dev
- develop
jobs:
build-test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x

- name: Build All
run: .\build-all-release.ps1 -f
working-directory: .\build
shell: powershell

- name: Test All
run: .\test-all.ps1 -f
working-directory: .\build
shell: powershell

- name: Pack All
run: .\pack-all.ps1 -f
working-directory: .\build
shell: powershell
33 changes: 33 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "build and publish"
on:
push:
tags:
- v*
jobs:
build-test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x

- name: Build All
run: .\build-all-release.ps1 -f
working-directory: .\build
shell: powershell

- name: Test All
run: .\test-all.ps1 -f
working-directory: .\build
shell: powershell

- name: Pack All
run: .\pack-all.ps1 -f
working-directory: .\build
shell: powershell

- name: Publish nuget
working-directory: .\build
run: dotnet nuget push ..\dest\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://www.nuget.org --skip-duplicate

Loading