File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -13,18 +13,19 @@ jobs:
1313 steps :
1414 - uses : actions/checkout@v2
1515
16- - name : Declare some env variables
17- id : env_vars
16+ - name : Declare some variables
17+ id : vars
1818 shell : bash
1919 run : |
20- echo "##[set-output name=branch_name;]$(echo ${GITHUB_REF#refs/heads/})"
21-
20+ echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
21+ echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
22+ -
2223 - name : Cypress run
2324 uses : cypress-io/github-action@v2
2425 env :
2526 VRT_APIURL : " http://162.243.161.172:4200"
2627 VRT_PROJECT : " VRT"
2728 VRT_ENABLESOFTASSERT : false
2829 VRT_APIKEY : ${{ secrets.VRT_API_KEY }}
29- VRT_BRANCHNAME : ${{ steps.env_vars .outputs.branch_name }}
30+ VRT_BRANCHNAME : ${{ steps.vars .outputs.branch }}
3031 VRT_CIBUILDID : " Github run_id: ${{ github.run_id }}"
You can’t perform that action at this time.
0 commit comments