diff --git a/.github/workflows/sampletest.yml b/.github/workflows/sampletest.yml index 5e28b6f..780bcb3 100644 --- a/.github/workflows/sampletest.yml +++ b/.github/workflows/sampletest.yml @@ -20,7 +20,7 @@ jobs: uses: jlengrand/push-adyen-collections-to-postman-javascript-action@main with: postman-key: ${{ secrets.POSTMAN_API_KEY }} - files-changed: ${{ steps.changed-files-specific.outputs.all }} + files-changed: ${{ steps.changed-files-specific.outputs.all_changed_files }} # Use the output from the `hello` step - name: Get the output time run: echo "The time was ${{ steps.process.outputs.time }}" \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index d3762e6..ab4338f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -9778,8 +9778,7 @@ const core = __nccwpck_require__(2186); const github = __nccwpck_require__(5438); try { - // `who-to-greet` input defined in action metadata file - const postmanApiKey = core.getInput('postman-api-key'); + const postmanApiKey = core.getInput('postman-key'); const filesChanged = core.getInput('files-changed'); console.log(`Hello ${postmanApiKey}!`); @@ -9788,8 +9787,8 @@ try { const time = (new Date()).toTimeString(); core.setOutput("time", time); // Get the JSON webhook payload for the event that triggered the workflow - const payload = JSON.stringify(github.context.payload, undefined, 2) - console.log(`The event payload: ${payload}`); + // const payload = JSON.stringify(github.context.payload, undefined, 2) + // console.log(`The event payload: ${payload}`); } catch (error) { core.setFailed(error.message); } diff --git a/index.js b/index.js index 5839345..a07cfb4 100644 --- a/index.js +++ b/index.js @@ -2,8 +2,7 @@ const core = require('@actions/core'); const github = require('@actions/github'); try { - // `who-to-greet` input defined in action metadata file - const postmanApiKey = core.getInput('postman-api-key'); + const postmanApiKey = core.getInput('postman-key'); const filesChanged = core.getInput('files-changed'); console.log(`Hello ${postmanApiKey}!`); @@ -12,8 +11,8 @@ try { const time = (new Date()).toTimeString(); core.setOutput("time", time); // Get the JSON webhook payload for the event that triggered the workflow - const payload = JSON.stringify(github.context.payload, undefined, 2) - console.log(`The event payload: ${payload}`); + // const payload = JSON.stringify(github.context.payload, undefined, 2) + // console.log(`The event payload: ${payload}`); } catch (error) { core.setFailed(error.message); } \ No newline at end of file diff --git a/tests/test3.yml b/tests/test3.yml new file mode 100644 index 0000000..1ec6b8a --- /dev/null +++ b/tests/test3.yml @@ -0,0 +1 @@ +EMPTY \ No newline at end of file