Skip to content

Commit 90535d9

Browse files
committed
ci: update ci test on php > 8.2, update release action
1 parent 3c0adf2 commit 90535d9

File tree

3 files changed

+6
-20
lines changed

3 files changed

+6
-20
lines changed

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: true
2020
matrix:
21-
php: [7.4, 8.0, 8.1] # 7.2, 7.3,
21+
php: [8.1, 8.2, 8.3, 8.4] # 7.2, 7.3,
2222
os: [ubuntu-latest, macOS-latest] # windows-latest,
2323
# include: # will not testing on php 7.2
2424
# - os: 'ubuntu-latest'

.github/workflows/release.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,11 @@ jobs:
4747
echo "release tag: ${tag1}"
4848
composer update --no-progress
4949
50-
# more see https://github.com/inhere/kite
51-
- name: Generate changelog file
52-
id: changelog
50+
- name: Generate changelog
5351
run: |
54-
wget -c -q https://github.com/inhere/kite/releases/latest/download/kite.phar
55-
php kite.phar git cl prev last --style gh-release --no-merges --fetch-tags --unshallow --file changelog.md
56-
cat changelog.md
57-
58-
# https://github.com/meeDamian/github-release
59-
# - name: Create release and upload assets
60-
# uses: meeDamian/[email protected]
61-
# with:
62-
# gzip: false
63-
# token: ${{ secrets.GITHUB_TOKEN }}
64-
# tag: ${{ env.RELEASE_TAG }}
65-
# name: ${{ env.RELEASE_TAG }}
66-
# body: |
67-
# ${{ steps.changelog.outputs.CHLOGBODY }}
68-
# files: kite-${{ env.RELEASE_TAG }}.phar
52+
curl https://github.com/gookit/gitw/releases/latest/download/chlog-linux-amd64 -L -o /usr/local/bin/chlog
53+
chmod a+x /usr/local/bin/chlog
54+
chlog -c .github/changelog.yml -o changelog.md prev last
6955
7056
# https://github.com/softprops/action-gh-release
7157
- name: Create release and upload assets

src/AutoComplete/ScriptGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* - ref linux system '/etc/bash_completion.d/'
1010
* - generate bash/zsh auto complete script for current console application.
1111
*
12-
* @package Inhere\Extra\AutoComplete
12+
* @package Toolkit\CliExt\AutoComplete
1313
* @link http://www.linuxidc.com/Linux/2016-10/136201.htm
1414
*/
1515
class ScriptGenerator

0 commit comments

Comments
 (0)