Skip to content

Commit 3d05fad

Browse files
committed
test: remove GITHUB_OUTPUT env var during tests
GITHUB_OUTPUT belongs to the action which executes these tests - we don't want to affect it. There will be a follow up to set GITHUB_OUTPUT to something temporary, so that we can actually test things end-to-end, under real-life conditions. (cherry picked from commit 554b17c)
1 parent e5ccb3e commit 3d05fad

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • .github/actions/prepare-node-test-matrix-action/test

.github/actions/prepare-node-test-matrix-action/test/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ exports.getOutput = function (now, pkg) {
4141

4242
exports.main = function () {
4343

44+
delete process.env.GITHUB_OUTPUT;
45+
4446
const originalEnv = { ...process.env };
4547

4648
// does not fail with defaults, cannot assert, as output is dependent on date

0 commit comments

Comments
 (0)