mirror of
https://github.com/jlengrand/push-adyen-collections-to-postman-javascript-action.git
synced 2026-03-10 08:41:23 +00:00
Hum, typos!
This commit is contained in:
2
.github/workflows/sampletest.yml
vendored
2
.github/workflows/sampletest.yml
vendored
@@ -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
7
dist/index.js
vendored
@@ -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);
|
||||
}
|
||||
|
||||
7
index.js
7
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);
|
||||
}
|
||||
1
tests/test3.yml
Normal file
1
tests/test3.yml
Normal file
@@ -0,0 +1 @@
|
||||
EMPTY
|
||||
Reference in New Issue
Block a user