Skip to content

Commit 9d1ef9a

Browse files
Add GHA build workflow
1 parent baf8e4c commit 9d1ef9a

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

.github/workflows/ci.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
- develop
6+
- "feature/**"
7+
- "release/**"
8+
- "hotfix/**"
9+
tags:
10+
- "*.*.*"
11+
paths-ignore:
12+
- "README.md"
13+
14+
pull_request:
15+
16+
workflow_dispatch:
17+
18+
env:
19+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
20+
DOTNET_CLI_TELEMETRY_OPTOUT: true
21+
DOTNET_NOLOGO: true
22+
23+
jobs:
24+
build:
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
job:
29+
- os: windows-2019
30+
build: ./build.cmd
31+
name: ${{ matrix.job.os }}
32+
runs-on: ${{ matrix.job.os }}
33+
steps:
34+
- name: Setup netcoreapp3.1
35+
uses: actions/[email protected]
36+
with:
37+
dotnet-version: "3.1.407"
38+
- name: Setup net5.0
39+
uses: actions/[email protected]
40+
with:
41+
dotnet-version: "5.0.201"
42+
- name: Run dotnet --info
43+
run: dotnet --info
44+
- uses: actions/[email protected]
45+
with:
46+
fetch-depth: 0
47+
- name: Build
48+
run: ${{ matrix.job.build }} --verbosity=diagnostic --target=pack

build.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)