From 2664c7929d677e41a90c71e2a9e1b735684f0e55 Mon Sep 17 00:00:00 2001 From: alkwa-msft <79329532+alkwa-msft@users.noreply.github.com> Date: Thu, 28 Jul 2022 11:12:46 -0700 Subject: [PATCH] Update dotnet.yml --- .github/workflows/dotnet.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 7fa65c9..a36753d 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -1,11 +1,9 @@ -name: .NET +name: .NET - Add latest build to Github Release on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - workflow_dispatch: + release: + types: [created] + name: Release jobs: build: