Skip to content

Commit 20d2360

Browse files
committed
Update build.yml
1 parent 87a25d7 commit 20d2360

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
name: Build
22

33
env:
4-
BUILD_VERSION: "7.0.${{github.run_number}}${{startsWith(github.ref, 'refs/heads/master') && '' || '-beta'}}"
5-
BUILD_INFORMATION: "7.0.${{github.run_number}}${{startsWith(github.ref, 'refs/heads/master') && '' || '-beta'}}+Branch.${{github.ref_name}}.Sha.${{github.sha}}"
4+
BUILD_VERSION: "7.0.${{github.run_number}}${{github.ref != 'refs/heads/master' && '-beta' || ''}}"
5+
BUILD_INFORMATION: "7.0.${{github.run_number}}${{github.ref != 'refs/heads/master' && '-beta' || ''}}+Branch.${{github.ref_name}}.Sha.${{github.sha}}"
66

7-
on: [push, pull_request]
7+
on:
8+
push:
9+
branches:
10+
- master
11+
- dev
12+
pull_request:
13+
branches:
14+
- master
15+
- dev
816

917
jobs:
1018
build:

0 commit comments

Comments
 (0)