Skip to content

Commit f052be1

Browse files
committed
GitHub workflow
1 parent e8466bf commit f052be1

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build and Deploy
2+
3+
on:
4+
push:
5+
branches: [ develop, master ]
6+
pull_request:
7+
branches: [ develop, master ]
8+
release:
9+
types:
10+
- published
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Setup .NET Core
18+
uses: actions/setup-dotnet@v1
19+
with:
20+
dotnet-version: 3.1.302
21+
- name: Restore
22+
run: dotnet restore src/Giraffe.Website/Giraffe.Website.fsproj
23+
- name: Build
24+
run: dotnet build --configuration Release --no-restore src/Giraffe.Website/Giraffe.Website.fsproj

0 commit comments

Comments
 (0)