Skip to content

Commit 674e75a

Browse files
committed
(AI based: MiniMax M2.5) Add Packagist publish workflow
1 parent c65b7e1 commit 674e75a

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish to Packagist
2+
3+
on:
4+
workflow_run:
5+
workflows: [Tests]
6+
types: [completed]
7+
branches: [master]
8+
9+
jobs:
10+
publish:
11+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Publish to Packagist
15+
uses: dawken/packagist-github-action@v1
16+
with:
17+
packagist-username: ${{ secrets.PACKAGIST_USERNAME }}
18+
packagist-token: ${{ secrets.PACKAGIST_TOKEN }}
19+
packagist-url: https://packagist.org

0 commit comments

Comments
 (0)