Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Missing build id environment variable for github actions #45

Closed
anark opened this issue Nov 12, 2020 · 2 comments
Closed

Missing build id environment variable for github actions #45

anark opened this issue Nov 12, 2020 · 2 comments

Comments

@anark
Copy link

anark commented Nov 12, 2020

In the record section setting of the readme(https://github.com/KnapsackPro/knapsack-pro-cypress#how-to-record-ci-builds-in-cypress-dashboard) the environment variable to use for the BUILD_ID from github actions is missing.

Does anyone know what the ENV variable on github actions is and if it can be added there?

@ArturT
Copy link
Member

ArturT commented Nov 12, 2020

Hi @anark

You can use GITHUB_RUN_ID. A unique number for each run within a repository. This number does not change if you re-run the workflow run.

https://docs.github.com/en/free-pro-team@latest/actions/reference/environment-variables#default-environment-variables

I will update FAQ in the readme and on our FAQ page https://knapsackpro.com/faq/question/how-to-record-ci-builds-in-cypress-dashboard

BTW If you need any help please send an email to support https://knapsackpro.com/contact and I can review your recorded CI builds to make sure all works fine for you :)

@ArturT
Copy link
Member

ArturT commented Nov 12, 2020

Related improvement for Cypress #47

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants