File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1313 steps :
1414 - uses : actions/checkout@v2
1515
16- - name : Declare some variables
17- id : vars
18- shell : bash
19- run : |
20- echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
21- echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
16+ - id : get-branch-name
17+ run : echo "::set-output name=branch_name::$(git symbolic-ref --short HEAD)"
18+ shell : bash
2219
2320 - name : Cypress run
2421 uses : cypress-io/github-action@v2
2724 VRT_PROJECT : " VRT"
2825 VRT_ENABLESOFTASSERT : false
2926 VRT_APIKEY : ${{ secrets.VRT_API_KEY }}
30- VRT_BRANCHNAME : ${{ steps.vars .outputs.branch }}
27+ VRT_BRANCHNAME : ${{ steps.get-branch-name .outputs.branch_name }}
3128 VRT_CIBUILDID : " Github run_id: ${{ github.run_id }}"
You can’t perform that action at this time.
0 commit comments