Skip to content

Commit d627662

Browse files
committed
Update build.yml
1 parent 308ea61 commit d627662

1 file changed

Lines changed: 11 additions & 15 deletions

File tree

.github/workflows/build.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
name: Build Server
22

3-
on:
4-
pull_request: {}
5-
push:
6-
paths:
7-
- 'Dockerfile'
8-
- './api/MyApp.sln'
3+
on: [push]
94

105
jobs:
116
build:
127
runs-on: ubuntu-20.04
138
steps:
14-
- name: checkout
15-
uses: actions/checkout@v2.0.0
16-
- name: Setup dotnet
17-
uses: actions/setup-dotnet@v1
18-
with:
19-
dotnet-version: '6.0'
20-
include-prerelease: true
21-
- run: dotnet build ./api
22-
- run: dotnet test ./api/MyApp.Tests
9+
- uses: actions/checkout@v2
10+
- name: Setup dotnet
11+
uses: actions/setup-dotnet@v1
12+
with:
13+
dotnet-version: '6.0'
14+
include-prerelease: true
15+
- name: Build
16+
run: dotnet build ./api
17+
- name: Test
18+
run: dotnet test ./api/MyApp.Tests

0 commit comments

Comments
 (0)