mirror of https://github.com/microsoft/autogen.git
Update dotnet-build.yml to add merge_group trigger (#2567)
* Update dotnet-build.yml * Update dotnet-build.yml
This commit is contained in:
parent
e3ccf228e2
commit
1f501b210c
|
@ -9,6 +9,8 @@ on:
|
|||
branches: [ "main" ]
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
merge_group:
|
||||
types: [checks_requested]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
|
||||
|
@ -31,9 +33,14 @@ jobs:
|
|||
filters: |
|
||||
dotnet:
|
||||
- "dotnet/**"
|
||||
workflows:
|
||||
- ".github/workflows/**"
|
||||
- name: dotnet has changes
|
||||
run: echo "dotnet has changes"
|
||||
if: steps.filter.outputs.dotnet == 'true'
|
||||
- name: workflows has changes
|
||||
run: echo "workflows has changes"
|
||||
if: steps.filter.outputs.workflows == 'true'
|
||||
build:
|
||||
name: Dotnet Build
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -157,4 +164,4 @@ jobs:
|
|||
ls -R ./output/nightly
|
||||
dotnet nuget push --api-key ${{ secrets.MYGET_TOKEN }} --source "https://www.myget.org/F/agentchat/api/v3/index.json" ./output/nightly/*.nupkg --skip-duplicate
|
||||
env:
|
||||
MYGET_TOKEN: ${{ secrets.MYGET_TOKEN }}
|
||||
MYGET_TOKEN: ${{ secrets.MYGET_TOKEN }}
|
||||
|
|
Loading…
Reference in New Issue