mirror of
https://github.com/jlengrand/push-adyen-collections-to-postman-javascript-action.git
synced 2026-03-10 08:41:23 +00:00
27 lines
924 B
YAML
27 lines
924 B
YAML
name: Sample Test for action
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
sample_test_job:
|
|
runs-on: ubuntu-latest
|
|
name: A job to test the action in the repo
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 2
|
|
- name: Get changed files in the test folder
|
|
id: changed-files-specific
|
|
uses: tj-actions/changed-files@v35
|
|
with:
|
|
files: tests/*.yml
|
|
- name: push-adyen-collections-to-postman-javascript-action
|
|
id: process
|
|
uses: jlengrand/push-adyen-collections-to-postman-javascript-action@main
|
|
with:
|
|
postman-key: ${{ secrets.POSTMAN_API_KEY }}
|
|
workspace-id: ${{ secrets.POSTMAN_WORKSPACE_ID }}
|
|
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 }}" |