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 b647312 commit 18f5d4eCopy full SHA for 18f5d4e
.github/workflows/build-test.yml
@@ -3,10 +3,11 @@ name: Build & test
3
on:
4
push:
5
branches:
6
- trunk
+ - trunk
7
+ - upgrade-ubuntu-bionic-20200639
8
pull_request:
9
10
11
12
jobs:
13
build-and-test:
@@ -29,6 +30,12 @@ jobs:
29
30
run: echo "::set-env name=BRANCH::$(echo ${GITHUB_REF##*/})"
31
- name: Output branch name
32
run: echo ${BRANCH}
33
+ - name: Output GitHub Head ref
34
+ if: github.event_name == 'pull_request'
35
+ run: echo ${{ github.head_ref }}
36
+ - name: Output GitHub ref
37
+ if: github.event_name == 'push'
38
+ run: echo ${{ github.ref }}
39
- name: Build Docker images
40
run: VERSION=${BRANCH} make build
41
- name: Test Docker images
0 commit comments