Skip to content

Commit

Permalink
Workflow build on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
gehongyan committed Apr 28, 2024
1 parent dba0924 commit ddf5e8d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Kook.Net on Pull Request

on:
pull_request:
branches: [ master, dev ]

jobs:
build_and_test:
name: Build and Test
strategy:
matrix:
target: [ windows-latest, ubuntu-latest, macOS-latest ]
uses: ./.github/workflows/build-test.yml
with:
target: ${{ matrix.target }}
dotnet-version: 8.0.x
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Kook.Net on Push or Pull Request
name: Kook.Net on Push

on:
push:
branches: [ master, dev ]
# pull_request:
# branches: [ master, dev ]

jobs:
build_and_test:
Expand Down

0 comments on commit ddf5e8d

Please sign in to comment.