From 9e1880f16a4c7f98396577f192a6c2ca3ca3f4f3 Mon Sep 17 00:00:00 2001 From: fraxy-v <65565042+fraxy-v@users.noreply.github.com> Date: Sun, 1 Sep 2024 10:55:05 +0300 Subject: [PATCH] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 586c815..2378a25 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -24,7 +24,15 @@ jobs: CMAKE_EXPORT_COMPILE_COMMANDS=ON ENABLE_COVERAGE=ON run-build: false - + + - name: Get modified source + id: get-modified-source + uses: actions/github-script@v7 + with: + script: | + const diff = require('./diff.js'); + console.log(diff({github, context})) + - name: Get affected targets id: find-targets uses: actions/github-script@v7