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