File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ # https://docs.github.com/en/actions
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " **"
7
+
8
+ name : Release
9
+
10
+ jobs :
11
+ release :
12
+ name : Release
13
+
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v4
19
+
20
+ - name : Install PHP with extensions
21
+ uses : shivammathur/setup-php@v2
22
+ with :
23
+ php-version : 8.3
24
+ coverage : none
25
+ extensions : none
26
+ tools : none
27
+
28
+ - name : Determine tag
29
+ run : echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
30
+
31
+ - name : Parse changelog
32
+ run : build/scripts/extract-release-notes.php ${{ env.RELEASE_TAG }} > release-notes.md
33
+
34
+ - name : Create release
35
+ uses : ncipollo/release-action@v1
36
+ with :
37
+ bodyFile : release-notes.md
38
+ tag : ${{ env.RELEASE_TAG }}
39
+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments