1313 strategy :
1414 fail-fast : true
1515 matrix :
16- php : [7.4 ]
16+ php : [8.0 ]
1717
1818 steps :
1919 - name : Checkout
@@ -36,29 +36,24 @@ jobs:
3636 ini-values : post_max_size=56M, short_open_tag=On # optional, setup php.ini configuration
3737 coverage : none # optional, setup coverage driver: xdebug, none
3838
39- - name : Install dependencies # eg: v1.0.3
39+ # more see https://github.com/inhere/kite
40+ - name : Generate changelog file
41+ id : changelog
4042 run : |
4143 echo $RELEASE_TAG
4244 echo $RELEASE_NAME
4345 tag1=${GITHUB_REF#refs/*/}
4446 echo "release tag: ${tag1}"
45- composer update --no-progress
46-
47- # more see https://github.com/inhere/kite
48- - name : Generate changelog file
49- id : changelog
50- run : |
51- wget -c -q https://github.com/inhere/kite/releases/latest/download/kite.phar
52- php kite.phar git cl prev last --style gh-release --no-merges --fetch-tags --unshallow --file changelog.md
53- cat changelog.md
47+ wget -c -q https://github.com/inhere/kite/releases/latest/download/kite.phar
48+ php kite.phar git cl prev last --style gh-release --no-merges --fetch-tags --unshallow --file changelog.md
49+ cat changelog.md
5450
5551 # https://github.com/softprops/action-gh-release
5652 - name : Create release and upload assets
57- uses : softprops/action-gh-release@v1
58- # if: startsWith(github.ref, 'refs/tags/')
59- with :
60- name : ${{ env.RELEASE_TAG }}
61- tag_name : ${{ env.RELEASE_TAG }}
62- body_path : changelog.md
63- env :
64- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53+ uses : softprops/action-gh-release@v1
54+ with :
55+ name : ${{ env.RELEASE_TAG }}
56+ tag_name : ${{ env.RELEASE_TAG }}
57+ body_path : changelog.md
58+ env :
59+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments