File tree 1 file changed +6
-10
lines changed
1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
generate_report :
9
9
runs-on : ubuntu-latest
10
- strategy :
11
- matrix :
12
- branch :
13
- - ' 8.16'
14
10
steps :
15
11
- uses : actions/checkout@v4
16
12
with :
24
20
echo "REPORT_DATE=`date "+%Y-%m-%d|%H:%M:%S"`" >> $GITHUB_ENV
25
21
env :
26
22
STACK_VERSION : 8.16.4-SNAPSHOT
27
- BRANCH : ${{ matrix.branch }} # Branch for downloading the specs
23
+ BRANCH : ' 8.16 ' # Branch for downloading the specs
28
24
- name : Download Artifacts
29
25
run : cd report && bundle exec rake download_all
30
26
- name : Generate report
@@ -34,14 +30,14 @@ jobs:
34
30
id : cpr
35
31
with :
36
32
token : ${{ secrets.GITHUB_TOKEN }}
37
- commit-message : Updates API report ${{env.REPORT_DATE}} ${{ matrix.branch }}
38
- branch : update_report_${{ matrix.branch }}
39
- title : Updates API report ${{ matrix.branch }}
33
+ commit-message : Updates API report ${{env.REPORT_DATE}} ${{ env.BRANCH }}
34
+ branch : update_report_${{ env.BRANCH }}
35
+ title : Updates API report ${{ env.BRANCH }}
40
36
body : ' As titled'
41
- base : ${{ matrix.branch }}
37
+ base : ${{ env.BRANCH }}
42
38
committer : ' Elastic Machine <elasticmachine@users.noreply.github.com>'
43
39
author : ' Elastic Machine <elasticmachine@users.noreply.github.com>'
44
40
- name : Pull Request Summary
45
41
if : ${{ steps.cpr.outputs.pull-request-url }}
46
42
run : |
47
- echo "${{ matrix.branch }} - ${{ steps.cpr.outputs.pull-request-url }}" >> $GITHUB_STEP_SUMMARY
43
+ echo "${{ env.BRANCH }} - ${{ steps.cpr.outputs.pull-request-url }}" >> $GITHUB_STEP_SUMMARY
You can’t perform that action at this time.
0 commit comments