File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1- # Source: https://github.com/panubo/reference-github-actions/blob/master/github-release.yml
1+ # Source: https://github.com/panubo/reference-github-actions/blob/main/github-release.yml
2+ # Description: Create a GitHub release
3+ # LICENSE: MIT License, Copyright (c) 2021-2023 Volt Grid Pty Ltd t/a Panubo
4+
5+ name : GitHub Release
26
37on :
48 push :
59 tags :
6- - ' *'
7-
8- name : GitHub Release
10+ - ' v*'
911
1012jobs :
1113 build :
1416 steps :
1517
1618 - name : Checkout code
17- uses : actions/checkout@v2
19+ uses : actions/checkout@v3
1820 with :
19- fetch-depth : 0
21+ fetch-depth : 0 # Required for git log to work
2022
2123 - name : Get Release Notes
2224 id : get_release_notes
2628 NOTES="${NOTES//$'\n'/'%0A'}"
2729 NOTES="${NOTES//$'\r'/'%0D'}"
2830 echo "NOTES: ${NOTES}"
29- echo "::set-output name= notes:: ${NOTES}"
31+ echo "notes= ${NOTES}" >> $GITHUB_OUTPUT
3032
3133 - name : Create Release
3234 id : create_release
Original file line number Diff line number Diff line change 1010 steps :
1111
1212 - name : Checkout code
13- uses : actions/checkout@v2
14- with :
15- fetch-depth : 0
13+ uses : actions/checkout@v3
1614
1715 - name : Tests
1816 run : |
You can’t perform that action at this time.
0 commit comments