From 5fd7dd35838bda605a96006aa7d1933d5c88be4d Mon Sep 17 00:00:00 2001 From: Yeela Lifshitz Date: Thu, 15 Aug 2024 10:54:02 +0300 Subject: [PATCH] simulate cache --- action.yml | 2 +- scripts/getConditionVars.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index db7060de..95a596c4 100644 --- a/action.yml +++ b/action.yml @@ -98,7 +98,7 @@ runs: with: github-token: ${{ fromJSON(fromJSON(inputs.client_payload)).githubToken || github.token }} repository: ${{ inputs.full_repository }} - run-id: ${{ fromJSON(fromJSON(inputs.client_payload)).artifactRunId }} + run-id: 10389925510 #${{ fromJSON(fromJSON(inputs.client_payload)).artifactRunId }} name: output path: code/output diff --git a/scripts/getConditionVars.js b/scripts/getConditionVars.js index 187f107b..afef7a1f 100644 --- a/scripts/getConditionVars.js +++ b/scripts/getConditionVars.js @@ -4,7 +4,7 @@ module.exports = core => { const CLIENT_PAYLOAD_ARG = process.env.CLIENT_PAYLOAD_ARG; try { const payload = JSON.parse(CLIENT_PAYLOAD_ARG); - const isNonCommitEvent = payload.isNonCommitEvent || false; + const isNonCommitEvent = 'true'; //payload.isNonCommitEvent || false; core.exportVariable('IS_NON_COMMIT_EVENT', isNonCommitEvent); } catch (error) { core.setFailed(error.message);