diff --git a/.github/workflows/sdk-publish.yaml b/.github/workflows/sdk-publish.yaml index 8d6bb0fa..6e7dc6a5 100644 --- a/.github/workflows/sdk-publish.yaml +++ b/.github/workflows/sdk-publish.yaml @@ -267,9 +267,12 @@ jobs: - name: Tune GitHub-hosted runner network uses: smorimoto/tune-github-hosted-runner-network@v1 - name: Publish - uses: wei/curl@v1.1.1 + uses: speakeasy-api/packagist-update@support-github-creation with: - args: -XPOST -H'content-type:application/json' 'https://packagist.org/api/update-package?username=${{ secrets.packagist_username }}&apiToken=${{ secrets.packagist_token }}' -d'{\"repository\":{\"url\":\"${{ github.server_url }}/${{ github.repository }}\"}}' + username: ${{ secrets.packagist_username }} + api_token: ${{ secrets.packagist_token }} + package_name: ${{ github.repository }} + package_base_url: ${{ github.server_url }} - uses: ravsamhq/notify-slack-action@v2 if: always() && env.SLACK_WEBHOOK_URL != '' with: