Skip to content

Commit

Permalink
update github actions yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yfdyh000 committed Mar 25, 2022
1 parent ae2827c commit edead3c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 23 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: .NET

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
include-prerelease: true
- name: Restore dependencies
run: dotnet restore ./src/ImeWlConverterCmd
- name: Build
run: dotnet build --no-restore ./src/ImeWlConverterCmd
- name: Test
run: dotnet test --no-build --verbosity normal ./src/ImeWlConverterCoreTest/ImeWlConverterCoreTest.csproj
23 changes: 0 additions & 23 deletions .github/workflows/dotnetcore.yml

This file was deleted.

0 comments on commit edead3c

Please sign in to comment.