Hum, typos!

This commit is contained in:
Julien Lengrand-Lambert
2023-02-13 15:11:23 +01:00
parent ac394438c6
commit e5f64b9595
4 changed files with 8 additions and 9 deletions

View File

@@ -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 }}"

7
dist/index.js vendored
View File

@@ -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);
}

View File

@@ -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);
}

1
tests/test3.yml Normal file
View File

@@ -0,0 +1 @@
EMPTY