action.yaml 599 B

123456789101112131415161718192021
  1. # This isn't to be used for the go integration tests because their logs are placed in a different location and require few extra steps.
  2. name: Log Collector
  3. description: Log collector for canary test
  4. inputs:
  5. name:
  6. description: Name to use for the workflow
  7. required: true
  8. runs:
  9. using: "composite"
  10. steps:
  11. - name: collect common logs
  12. shell: bash --noprofile --norc -eo pipefail -x {0}
  13. run: |
  14. tests/scripts/collect-logs.sh
  15. - name: Upload canary test result
  16. uses: actions/upload-artifact@v2
  17. with:
  18. name: ${{ inputs.name }}
  19. path: test