Browse Source

Merge pull request #797 from colinin/build-workflow

workflow: add build wf
pull/802/head
yx lin 3 years ago
committed by GitHub
parent
commit
f8464e33cd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 27
      .github/workflows/build.yml
  2. 2
      .github/workflows/release.yml

27
.github/workflows/build.yml

@ -0,0 +1,27 @@
name: "Build"
on:
push:
branches: [ master ]
paths:
- "**.cs"
- "**.csproj"
env:
DOTNET_VERSION: "7.0.102"
jobs:
build:
name: "Build"
runs-on: "windows-latest"
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Build All
run: .\build-aspnetcore-build-sln.ps1 -f
working-directory: .\build
shell: powershell

2
.github/workflows/release.yml

@ -14,4 +14,4 @@ jobs:
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
automatic_release_tag: "7.0.1"
automatic_release_tag: "7.0.2"

Loading…
Cancel
Save