Skip to content

Commit 00956be

Browse files
committed
fix: remove duplicates
1 parent 8ea7cad commit 00956be

File tree

3 files changed

+7
-85
lines changed

3 files changed

+7
-85
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 82 deletions
This file was deleted.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
name: PR
1+
name: CI
22

33
on:
44
pull_request:
55
branches: [ master, main ]
6+
push:
7+
branches: [ master, main ]
68

79
jobs:
810
set-version:

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ on:
55
workflows: ['CI']
66
types:
77
- completed
8-
8+
branches:
9+
- master
10+
- main
911
jobs:
1012
set-version:
1113
runs-on: ubuntu-latest
12-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
14+
if: ${{ github.event.workflow_run.head_branch == 'main' }}
1315
container:
1416
image: mcr.microsoft.com/dotnet/sdk:6.0
1517
outputs:

0 commit comments

Comments
 (0)