We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee48647 commit ca5b6c0Copy full SHA for ca5b6c0
.github/workflows/workflow.yml
@@ -13,12 +13,18 @@ jobs:
13
steps:
14
- uses: actions/checkout@v2
15
16
+ - name: Declare some env variables
17
+ id: env_vars
18
+ shell: bash
19
+ run: |
20
+ echo "##[set-output name=branch_name;]$(echo ${GITHUB_REF#refs/heads/})"
21
+
22
- name: Cypress run
23
uses: cypress-io/github-action@v2
24
env:
25
VRT_APIURL: "http://162.243.161.172:4200"
26
VRT_PROJECT: "VRT"
27
VRT_ENABLESOFTASSERT: false
28
VRT_APIKEY: ${{ secrets.VRT_API_KEY }}
- VRT_BRANCHNAME: ${{ $(git rev-parse --abbrev-ref HEAD) }}
29
+ VRT_BRANCHNAME: ${{ steps.env_vars.outputs.branch_name }}
30
VRT_CIBUILDID: "Github run_id: ${{ github.run_id }}"
0 commit comments