Skip to content

Commit 31bba30

Browse files
committed
Clean up composer plugin configuration
- Remove unnecessary repository configuration from composer.json - Remove redundant name configuration from publish workflow - Keep configuration minimal and clean
1 parent 3f16106 commit 31bba30

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

.github/workflows/publish-composer-plugin.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ jobs:
4040
composer config github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}
4141
composer config repositories.github '{"type": "composer", "url": "https://npm.pkg.github.com/"}'
4242
composer config repository github
43-
composer config name goopil/rabbit-rs-installer
4443
composer publish --verbose
4544
env:
4645
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

php/composer-plugin/composer.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,5 @@
1414
},
1515
"extra": {
1616
"class": "Goopil\\RabbitRs\\Installer\\Plugin"
17-
},
18-
"repositories": [
19-
{
20-
"type": "composer",
21-
"url": "https://repo.packagist.org"
22-
}
23-
]
17+
}
2418
}

0 commit comments

Comments
 (0)