Skip to content

Commit 553374c

Browse files
committed
update yml
1 parent a1ca54e commit 553374c

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,17 @@ on:
55
push:
66
tags:
77
- "v[0-9]+.[0-9]+.[0-9]+"
8-
branches:
9-
- "main"
10-
- "release/*"
11-
- "feature/*"
12-
- "v15/*"
138
jobs:
149
build:
1510
runs-on: ubuntu-latest
1611
timeout-minutes: 15
1712
steps:
1813
- name: Checkout
1914
uses: actions/checkout@v2
20-
- name: Verify commit exists in origin/main
15+
- name: Verify commit exists in origin/v15
2116
run: |
2217
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
23-
git branch --remote --contains | grep origin/main
18+
git branch --remote --contains | grep origin/v15
2419
- name: Setup .NET
2520
uses: actions/setup-dotnet@v3
2621
with:

0 commit comments

Comments
 (0)