From dfce0053fe9ee032f89d398796b44a8b12752ece Mon Sep 17 00:00:00 2001 From: Adrian Hall Date: Thu, 24 Apr 2025 14:03:57 -0700 Subject: [PATCH] (#338) Added Directory.Packages.props to the list of trigger files --- .github/workflows/build-library.yml | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-library.yml b/.github/workflows/build-library.yml index 209be5e..94ea691 100644 --- a/.github/workflows/build-library.yml +++ b/.github/workflows/build-library.yml @@ -2,13 +2,28 @@ name: Build and Test Library on: push: - branches: [ main ] - paths: [ 'src/**', 'tests/**', 'Datasync Solution.sln', '.github/workflows/build-library.yml', '.github/workflows/SignedPackageFileList.txt' ] + branches: + - main + paths: + - 'src/**' + - 'tests/**' + - 'Datasync.Toolkit.sln' + - 'Directory.Packages.props' + - '.github/workflows/build-library.yml' + - '.github/workflows/SignedPackageFileList.txt' pull_request: - branches: [ main ] - paths: [ 'src/**', 'tests/**', 'Datasync Solution.sln', '.github/workflows/build-library.yml', '.github/workflows/SignedPackageFileList.txt' ] + branches: + - main + paths: + - 'src/**' + - 'tests/**' + - 'Datasync.Toolkit.sln' + - 'Directory.Packages.props' + - '.github/workflows/build-library.yml' + - '.github/workflows/SignedPackageFileList.txt' release: - types: [ published ] + types: + - published workflow_dispatch: env: @@ -17,7 +32,7 @@ env: DOTNET_NOLOGO: true DOTNET_CONFIGURATION: 'Release' NuGetDirectory: ${{ github.workspace }}/nuget - SolutionFile: 'Datasync Solution.sln' + SolutionFile: 'Datasync.Toolkit.sln' BASE_VERSION: '9.0.0' permissions: