Skip to content

Commit 1e9bfc3

Browse files
committed
Enable CI for main branch
1 parent 92942a5 commit 1e9bfc3

3 files changed

Lines changed: 6 additions & 19 deletions

File tree

.github/workflows/continuous.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: continuous
22

33
on:
4+
push:
5+
branches:
6+
- main
47
pull_request:
58
branches:
6-
- master
9+
- main
710
- 'release/*'
811

912
jobs:
@@ -20,13 +23,5 @@ jobs:
2023
dotnet-version: |
2124
6.0.x
2225
23-
- name: Cache .nuke/temp, ~/.nuget/packages
24-
uses: actions/cache@v4
25-
with:
26-
path: |
27-
.nuke/temp
28-
~/.nuget/packages
29-
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }}
30-
3126
- name: Run './build.cmd Verify Cover Pack'
3227
run: ./build.cmd Verify Cover Pack --no-logo

.github/workflows/release.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ jobs:
3030
dotnet-version: |
3131
6.0.x
3232
33-
- name: Cache .nuke/temp, ~/.nuget/packages
34-
uses: actions/cache@v4
35-
with:
36-
path: |
37-
.nuke/temp
38-
~/.nuget/packages
39-
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }}
40-
4133
- name: Run './build.cmd Verify Cover Publish'
4234
run: ./build.cmd Verify Cover Publish --no-logo
4335
env:

GitVersion.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ mode: ContinuousDelivery
22
assembly-versioning-scheme: MajorMinorPatch
33
tag-prefix: '[vV]'
44
branches:
5-
master:
5+
main:
66
tag: ''
77
increment: Minor
88
release:
9-
source-branches: ['master']
9+
source-branches: ['main']
1010
prevent-increment-of-merged-branch-version: true
1111
tag: 'preview'
1212
ignore:

0 commit comments

Comments
 (0)