Skip to content

testdriverai/action-dashcam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

action-dashcam

GitHub actions for TestDriver Dashcam service

Usage

NOTE: These actions are currently only supported on Windows runners.

First step must be to install the Dashcam CLI/GUI on the runner. The GUI is required for the CLI to function correctly.

  - name: Install Dashcam
    id: install_dashcam
    continue-on-error: true # Optional
    uses: testdriverai/action-dashcam@<VERSION_TAG>
    with:
        version: "1.4.13-beta.3" # See releases here: https://github.com/replayableio/replayable/releases

Right before the step that you want to record you need to Start the Dashcam.

  - name: Start Dashcam
    id: start_dashcam
    if: ${{ steps.install_dashcam.outcome == 'success' }} # Only needed if continue-on-error is used on the install_dashcam
    continue-on-error: true
    uses: testdriverai/action-dashcam/start@<VERSION_TAG>
    with:
      api-key: ${{ secrets.DASHCAM_API_KEY }}
      project-id: "507f1f77bcf86cd799439011" # The project-id value is the 'slug' component of the project URL on the Dashcam website.
      title: "${{ github.workflow }} ${{ github.run_number }}-${{ github.run_attempt }} - ${{ runner.name }}"

To stop the recording and upload the results use:

  - name: Submit Dashcam recording
    if: ${{ always() && steps.start_dashcam.outcome == 'success' }}
    continue-on-error: true
    uses: testdriverai/action-dashcam/stop@dev

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors