Author: Shivam Mathur (shivammathur) Date: 2025-01-29T08:44:04+05:30 Commit: https://github.com/php/web-downloads/commit/e4d10134368b5d14d68e36bf0c2f578b0d33a4ec Raw diff: https://github.com/php/web-downloads/commit/e4d10134368b5d14d68e36bf0c2f578b0d33a4ec.diff
Update urls to /api in workflows Changed paths: M .github/workflows/pecl.yml M .github/workflows/php.yml M .github/workflows/winlibs.yml Diff: diff --git a/.github/workflows/pecl.yml b/.github/workflows/pecl.yml index d91f976..dc1c055 100644 --- a/.github/workflows/pecl.yml +++ b/.github/workflows/pecl.yml @@ -17,6 +17,6 @@ jobs: - run: | curl \ --request POST \ - --location https://downloads.php.net/pecl \ + --location https://downloads.php.net/api/pecl \ --header 'Authorization: Bearer ${{ secrets.AUTH_TOKEN }}' \ --data '{ "url": "${{ inputs.url }}", "extension": "${{ inputs.extension }}", "ref": "${{ inputs.ref }}" }' diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 603c59c..08243d8 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -14,6 +14,6 @@ jobs: - run: | curl \ --request POST \ - --location https://downloads.php.net/php \ + --location https://downloads.php.net/api/php \ --header 'Authorization: Bearer ${{ secrets.AUTH_TOKEN }}' \ --data '{ "url": "${{ inputs.url }}", "token": "${{ secrets.TOKEN }}" }' diff --git a/.github/workflows/winlibs.yml b/.github/workflows/winlibs.yml index 39daf1f..c588d72 100644 --- a/.github/workflows/winlibs.yml +++ b/.github/workflows/winlibs.yml @@ -32,6 +32,6 @@ jobs: - run: | curl \ --request POST \ - --location https://downloads.php.net/winlibs \ + --location https://downloads.php.net/api/winlibs \ --header 'Authorization: Bearer ${{ secrets.AUTH_TOKEN }}' \ --data '{ "library": "${{ inputs.library }}", "ref": "${{ inputs.ref }}", "workflow_run_id": "${{ inputs.workflow_run_id }}", "php_versions": "${{ inputs.php_versions }}", "vs_version": "${{ inputs.vs_version }}", "vs_version_targets": "${{ inputs.vs_version_targets }}", "stability": "${{ inputs.stability }}", "token": "${{ secrets.TOKEN }}" }'