Skip to content

Commit e6e6dd8

Browse files
committed
Testing if tag is present [skip ci]
1 parent abb5ee5 commit e6e6dd8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build-test-deploy.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build & test
33
on:
44
push:
55
branches:
6-
selenium-4-alpha
6+
trunk
77

88
jobs:
99
build-and-test:
@@ -16,6 +16,12 @@ jobs:
1616
- uses: actions/checkout@v1
1717
- name: Output Docker info
1818
run: docker info
19+
- name: Gets tag as env var if present
20+
run: echo ::set-env name=GITHUB_TAG::${GITHUB_REF#refs/*/}
21+
- name: Output GITHUB_TAG if present
22+
run: |
23+
echo $GITHUB_TAG
24+
echo ${{ env.GITHUB_TAG }}
1925
- name: Set up Python 3.8
2026
uses: actions/setup-python@v2
2127
with:

0 commit comments

Comments
 (0)