Skip to content

Commit

Permalink
使用Github托管代码
Browse files Browse the repository at this point in the history
Signed-off-by: virtual <1185513330@qq.com>
  • Loading branch information
cocosip committed Dec 15, 2021
1 parent b710395 commit 3ecc71c
Show file tree
Hide file tree
Showing 33 changed files with 311 additions and 1,133 deletions.
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

34 changes: 0 additions & 34 deletions azure-pipelines.yml

This file was deleted.

199 changes: 0 additions & 199 deletions build.cake

This file was deleted.

3 changes: 0 additions & 3 deletions build.config

This file was deleted.

0 comments on commit 3ecc71c

Please sign in to comment.