From d44624c9c07b3a5330c4429133e7844713a41e2e Mon Sep 17 00:00:00 2001 From: Gary Ewan Park Date: Mon, 23 Sep 2024 10:55:57 -0500 Subject: [PATCH 1/2] (build) Update action version v2 of the upload-artifact action is now deprecated, and the recommendation is to move to using v4: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/ --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2f700f481..7e6737b7a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,15 +40,15 @@ jobs: ./build.ps1 --target=CI - name: Upload Issues-Report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: if-no-files-found: warn name: issues path: code_drop/issues-report.html - name: Upload Packages - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: if-no-files-found: warn name: package - path: code_drop/Packages/**/* \ No newline at end of file + path: code_drop/Packages/**/* From d903e17637edacebbff7023e27bb898cb2fd24ec Mon Sep 17 00:00:00 2001 From: Josh King Date: Tue, 17 Sep 2024 15:32:53 +1200 Subject: [PATCH 2/2] (build) Add templated notifications to all builds --- .teamcity/settings.kts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.teamcity/settings.kts b/.teamcity/settings.kts index 2744e658e..196b0a2df 100644 --- a/.teamcity/settings.kts +++ b/.teamcity/settings.kts @@ -18,6 +18,8 @@ object ChocolateyGUI : BuildType({ id = AbsoluteId("ChocolateyGUI") name = "Chocolatey GUI (Built with Unit Tests)" + templates(AbsoluteId("SlackNotificationTemplate")) + artifactRules = """ """.trimIndent() @@ -87,6 +89,8 @@ object ChocolateyGUISchd : BuildType({ id = AbsoluteId("ChocolateyGUISchd") name = "Chocolatey GUI (Scheduled Integration Testing)" + templates(AbsoluteId("SlackNotificationTemplate")) + artifactRules = """ """.trimIndent() @@ -149,6 +153,8 @@ object ChocolateyGUIQA : BuildType({ id = AbsoluteId("ChocolateyGUIQA") name = "Chocolatey GUI (SonarQube)" + templates(AbsoluteId("SlackNotificationTemplate")) + artifactRules = """ """.trimIndent() @@ -213,6 +219,8 @@ object ChocolateyGUISign : BuildType({ id = AbsoluteId("ChocolateyGUISign") name = "Chocolatey GUI (Script Signing)" + templates(AbsoluteId("SlackNotificationTemplate")) + artifactRules = """ """.trimIndent()