mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 06:40:40 +00:00
Add GitHub SHA in BrowserStack build ID. (#34077)
This commit is contained in:
parent
2a0f7078d4
commit
a7e64b5a4f
1
.github/workflows/browserstack.yml
vendored
1
.github/workflows/browserstack.yml
vendored
@ -34,3 +34,4 @@ jobs:
|
||||
env:
|
||||
BROWSER_STACK_ACCESS_KEY: "${{ secrets.BROWSER_STACK_ACCESS_KEY }}"
|
||||
BROWSER_STACK_USERNAME: "${{ secrets.BROWSER_STACK_USERNAME }}"
|
||||
GITHUB_SHA: "${{ github.sha }}"
|
||||
|
@ -108,7 +108,7 @@ if (BROWSERSTACK) {
|
||||
conf.browserStack = {
|
||||
username: ENV.BROWSER_STACK_USERNAME,
|
||||
accessKey: ENV.BROWSER_STACK_ACCESS_KEY,
|
||||
build: `bootstrap-${new Date().toISOString()}`,
|
||||
build: `bootstrap-${ENV.GITHUB_SHA ? ENV.GITHUB_SHA.slice(0, 7) + '-' : ''}${new Date().toISOString()}`,
|
||||
project: 'Bootstrap',
|
||||
retryLimit: 2
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user