File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 3
3
4
4
name : ci
5
5
6
- on : [push]
6
+ on :
7
+ pull_request :
8
+ push :
9
+ branches :
10
+ master
7
11
8
12
jobs :
9
13
build :
Original file line number Diff line number Diff line change 2
2
3
3
name : Tool CI
4
4
5
- on : [push]
5
+ on :
6
+ pull_request :
6
7
7
8
jobs :
8
9
build :
Original file line number Diff line number Diff line change 23
23
- name : Collect git metadata
24
24
id : git_metadata
25
25
run : |
26
- echo ::set-output name= VERSION:: ${GITHUB_REF#refs/tags/v}
26
+ echo "{ VERSION}::{ ${GITHUB_REF#refs/tags/v}}" >> $GITHUB_OUTPUT
27
27
# The following builds the document in multiple formats for deployment.
28
28
- name : Build the document.
29
29
shell : bash
Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ if [ -z "$version" ]; then
77
77
usage " no document version specified"
78
78
fi
79
79
80
+ version=PR_${version%/* }
81
+
80
82
# ###############################################################################
81
83
# Build the document.
82
84
# ###############################################################################
You can’t perform that action at this time.
0 commit comments