Update missing methods, return bool indicate export result #6
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
name: Update Packagist | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
update-packagist: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Update Packagist | |
env: | |
PACKAGIST_USERNAME: ${{ secrets.PACKAGIST_USERNAME }} | |
PACKAGIST_TOKEN: ${{ secrets.PACKAGIST_TOKEN }} | |
run: | | |
curl -XPOST -H'content-type:application/json' 'https://packagist.org/api/update-package?username=${{ env.PACKAGIST_USERNAME }}&apiToken=${{ env.PACKAGIST_TOKEN }}' -d'{"repository":{"url":"https://packagist.org/packages/zuko/flex2cell"}}' |