-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: rename package name to phppkg/http-client
- Loading branch information
Showing
40 changed files
with
206 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,11 +9,11 @@ jobs: | |
release: | ||
name: Test on php ${{ matrix.php}} | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
timeout-minutes: 5 | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
php: [7.3] | ||
php: [8.0] | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -25,10 +25,20 @@ jobs: | |
echo "RELEASE_TAG=${GITHUB_REF:10}" >> $GITHUB_ENV | ||
echo "RELEASE_NAME=$GITHUB_WORKFLOW" >> $GITHUB_ENV | ||
- uses: meeDamian/[email protected] | ||
# more see https://github.com/inhere/kite | ||
- name: Generate changelog file | ||
id: changelog | ||
run: | | ||
wget -c -q https://github.com/inhere/kite/releases/latest/download/kite.phar | ||
php kite.phar git cl prev last --style gh-release --no-merges --fetch-tags --unshallow --file changelog.md | ||
cat changelog.md | ||
# https://github.com/softprops/action-gh-release | ||
- name: Create release and upload assets | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
gzip: false | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
tag: ${{ env.RELEASE_TAG }} | ||
name: ${{ env.RELEASE_TAG }} | ||
# files: kite-${{ env.RELEASE_TAG }}.phar | ||
tag_name: ${{ env.RELEASE_TAG }} | ||
body_path: changelog.md | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "php-comp/http-client", | ||
"name": "phppkg/http-client", | ||
"type": "library", | ||
"description": "simple http client library of the php", | ||
"keywords": [ | ||
|
@@ -9,13 +9,13 @@ | |
"fopen", | ||
"curl" | ||
], | ||
"homepage": "https://github.com/php-comp/http-client", | ||
"homepage": "https://github.com/phppkg/http-client", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "inhere", | ||
"email": "[email protected]", | ||
"homepage": "http://www.yzone.net/" | ||
"homepage": "https://github.com/inhere" | ||
} | ||
], | ||
"require": { | ||
|
@@ -25,10 +25,10 @@ | |
}, | ||
"autoload": { | ||
"psr-4": { | ||
"PhpComp\\Http\\Client\\": "src/" | ||
"PhpPkg\\Http\\Client\\": "src/" | ||
} | ||
}, | ||
"suggest": { | ||
"php-comp/http-message": "Very lightweight PSR-7 implements http message component" | ||
"phppkg/http-message": "Very lightweight PSR-7 implements http message component" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.