Skip to content

Commit

Permalink
Merge pull request #3 from tsubakimoto/issue2
Browse files Browse the repository at this point in the history
Create dotnet-build-and-publish.yml
  • Loading branch information
tsubakimoto authored Nov 23, 2023
2 parents a239e5c + 46ae8c6 commit b297a29
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/dotnet-build-and-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: .NET build and publish

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal

0 comments on commit b297a29

Please sign in to comment.