File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Packagist
2+ on :
3+ workflow_dispatch :
4+
5+ release :
6+ types : [published]
7+
8+ jobs :
9+ publish :
10+ name : publish
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15+
16+ - name : Publish to Packagist
17+ run : |-
18+ curl --fail-with-body -X POST -H 'Content-Type: application/json' "https://packagist.org/api/update-package?username=${PACKAGIST_USERNAME}&apiToken=${PACKAGIST_SAFE_KEY}" -d '{"repository":"https://github.com/context-dot-dev/context-php-sdk"}'
19+ env :
20+ PACKAGIST_USERNAME : ${{ secrets.CONTEXT_DEV_PACKAGIST_USERNAME || secrets.PACKAGIST_USERNAME }}
21+ PACKAGIST_SAFE_KEY : ${{ secrets.CONTEXT_DEV_PACKAGIST_SAFE_KEY || secrets.PACKAGIST_SAFE_KEY }}
Original file line number Diff line number Diff line change 11configured_endpoints : 25
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-af8edc351fec4471435b010cd9b7ccfabf2c2ccef20e6404ad2516a0be212645 .yml
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-3024c2681b0acf12535d68f39c1b49113330548513a54b276116cd3f2eda182e .yml
33openapi_spec_hash : ab3a6473e575381cacd245bf54dcf0f7
4- config_hash : f5846595c44dc42376e820c14465a4c6
4+ config_hash : b0f343b2ab3baebad7b0d6d51f0f16fc
Original file line number Diff line number Diff line change @@ -10,22 +10,10 @@ The REST API documentation can be found on [docs.context.dev](https://docs.conte
1010
1111## Installation
1212
13- To use this package, install via Composer by adding the following to your application's ` composer.json ` :
14-
1513<!-- x-release-please-start-version -->
1614
17- ``` json
18- {
19- "repositories" : [
20- {
21- "type" : " vcs" ,
22- "url" : " git@github.com:context-dot-dev/context-php-sdk.git"
23- }
24- ],
25- "require" : {
26- "org-placeholder/context-dev" : " dev-main"
27- }
28- }
15+ ```
16+ composer require "org-placeholder/context-dev 0.0.1"
2917```
3018
3119<!-- x-release-please-end -->
You can’t perform that action at this time.
0 commit comments