Skip to content

Commit cef77c6

Browse files
Update linux github action to only run on push
1 parent 9528fb1 commit cef77c6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/dotnet.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@ name: .NET Build + Test + Publish
22

33
on:
44
push:
5-
branches: [main, linux-app-image]
5+
branches: [main]
66
pull_request:
77
branches: [main]
88

99
jobs:
1010
build-windows:
1111
runs-on: windows-2022
12-
1312
outputs:
1413
version-number: ${{ steps.version.outputs.number}}
15-
1614
steps:
1715
- uses: actions/checkout@v4
1816
- name: Download config repo
@@ -90,12 +88,10 @@ jobs:
9088

9189
build-linux:
9290
runs-on: ubuntu-22.04
93-
9491
needs: [build-windows]
95-
9692
permissions:
9793
contents: write
98-
94+
if: ${{ github.event_name != 'pull_request' }}
9995
steps:
10096
- uses: actions/checkout@v4
10197
- name: Download config repo

0 commit comments

Comments
 (0)