From 1f519be99bd786919c0a9e81b4afa58d2a676590 Mon Sep 17 00:00:00 2001 From: Thad House Date: Fri, 1 Sep 2023 13:49:33 -0700 Subject: [PATCH] Check in CI that example has been version updated (#167) * Check in CI that example has been version updated * Update version --- .github/workflows/main.yml | 2 ++ build.gradle | 1 + testing/cpp/build.gradle | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fe5e0086..7676513e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,6 +18,8 @@ jobs: run: ./gradlew build -PRunToolchainTests - name: Publish run: ./gradlew publishToMavenLocal + - name: Check output + run: git --no-pager diff --exit-code HEAD - name: InstallRioTC run: ./gradlew installRoboRioToolchain working-directory: testing/cpp diff --git a/build.gradle b/build.gradle index 16101935..801d348a 100644 --- a/build.gradle +++ b/build.gradle @@ -98,3 +98,4 @@ tasks.register('PatchExamples') { } build.dependsOn PatchExamples +jar.finalizedBy PatchExamples diff --git a/testing/cpp/build.gradle b/testing/cpp/build.gradle index 0012caf8..a479e829 100644 --- a/testing/cpp/build.gradle +++ b/testing/cpp/build.gradle @@ -2,7 +2,7 @@ import edu.wpi.first.toolchain.NativePlatforms plugins { id "cpp" - id "edu.wpi.first.NativeUtils" version "2024.1.0" + id "edu.wpi.first.NativeUtils" version "2024.2.0" } nativeUtils.addWpiNativeUtils()