mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
test: fix name of browserstack name being too long
This commit is contained in:
parent
29538dda96
commit
e098ec684c
4
.github/workflows/browserstack.yml
vendored
4
.github/workflows/browserstack.yml
vendored
|
@ -7,7 +7,7 @@ on:
|
|||
branches: [ master, develop ]
|
||||
|
||||
env:
|
||||
COMMIT_MSG: ${{ github.event.head_commit.message }}
|
||||
COMMIT_MSG: 'printf "%s" "${{ github.event.head_commit.message }}" | head -n 1' # Only the first line of commit msg
|
||||
|
||||
jobs:
|
||||
ubuntu-job:
|
||||
|
@ -32,7 +32,7 @@ jobs:
|
|||
uses: martinbeentjes/npm-get-version-action@v1.1.0
|
||||
|
||||
- name: '📝 Print build version and commit msg'
|
||||
run: echo ${{ steps.package-version.outputs.current-version}}-${{ github.run_id }} $COMMIT_MSG
|
||||
run: 'printf "version: %s\nbuild:%s\message:%s\n" "${{ steps.package-version.outputs.current-version}}" "${{ github.run_id }}" "$COMMIT_MSG"'
|
||||
|
||||
- name: '📱 BrowserStack Env Setup' # Invokes the setup-env action
|
||||
uses: browserstack/github-actions/setup-env@master
|
||||
|
|
Loading…
Reference in New Issue
Block a user