Skip to content

Commit 34e0e4e

Browse files
committed
Rename master branch to main
1 parent 9036c51 commit 34e0e4e

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Continuous Integration
2+
on:
3+
pull_request:
4+
branches:
5+
- develop
6+
- main
7+
push:
8+
branches:
9+
- develop
10+
- main
11+
- feature/*
12+
tags:
13+
- v[0-9]+.[0-9]+.[0-9]+
14+
# If multiple pushes happen quickly in succession, cancel the running build
15+
# and start a new one.
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
jobs:
20+
ci:
21+
uses: autofac/.github/.github/workflows/ci.yml@main
22+
secrets: inherit
23+
with:
24+
solution: Autofac.Pooling.sln

default.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<Version>$(Version)-local</Version>
1818
</PropertyGroup>
1919
</When>
20-
<When Condition="'$(GITHUB_REF_NAME)'=='master' Or $([System.Text.RegularExpressions.Regex]::IsMatch($(GITHUB_REF_NAME), `^v.+\..+\..+`))">
20+
<When Condition="'$(GITHUB_REF_NAME)'=='main' Or $([System.Text.RegularExpressions.Regex]::IsMatch($(GITHUB_REF_NAME), `^v.+\..+\..+`))">
2121
<PropertyGroup>
2222
<Version>$(Version)</Version>
2323
</PropertyGroup>

0 commit comments

Comments
 (0)