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: samples/*.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 }}"