We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 308ea61 commit d627662Copy full SHA for d627662
1 file changed
.github/workflows/build.yml
@@ -1,22 +1,18 @@
1
name: Build Server
2
3
-on:
4
- pull_request: {}
5
- push:
6
- paths:
7
- - 'Dockerfile'
8
- - './api/MyApp.sln'
+on: [push]
9
10
jobs:
11
build:
12
runs-on: ubuntu-20.04
13
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
+ - uses: actions/checkout@v2
+ - name: Setup dotnet
+ uses: actions/setup-dotnet@v1
+ with:
+ dotnet-version: '6.0'
+ include-prerelease: true
+ - name: Build
+ run: dotnet build ./api
+ - name: Test
+ run: dotnet test ./api/MyApp.Tests
0 commit comments