-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (33 loc) · 1006 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: release
on:
push:
branches: [ "releases/*" ]
paths:
- 'src/**'
- 'cake/**'
- '.github/**'
pull_request:
branches: [ "releases/*" ]
paths:
- 'src/**'
- 'cake/**'
- '.github/**'
workflow_dispatch:
jobs:
build:
strategy:
matrix:
configuration: [Release]
runs-on: [self-hosted, Windows, X64, L3] # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: "Build script"
run: dotnet build cake/Build.csproj
- name: "Run build script"
env:
GH_TOKEN : ${{ secrets.GH_TOKEN }}
run: dotnet run --project cake/Build.csproj --do-test --do-pack --test-level 100 --do-publish --do-publish-release