-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e92372
commit ec73383
Showing
3 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Run tests | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
url: | ||
description: 'Artifact URL' | ||
extension: | ||
description: 'Extension Name' | ||
ref: | ||
description: 'Extension Ref' | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- run: | | ||
curl \ | ||
--requests POST \ | ||
--location https://downloads.php.net/pecl \ | ||
--header 'Authorization: Bearer ${{ secrets.AUTH_TOKEN }}' \ | ||
--data '{ "url": "${{ inputs.url }}", "extension": "${{ inputs.extension }}", "ref": "${{ inputs.ref }}" }' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Run tests | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
url: | ||
description: 'Artifact URL' | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- run: | | ||
curl \ | ||
--requests POST \ | ||
--location https://downloads.php.net/php \ | ||
--header 'Authorization: Bearer ${{ secrets.AUTH_TOKEN }}' \ | ||
--data '{ "url": "${{ inputs.url }}", "token": "${{ secrets.TOKEN }}" }' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Run tests | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
library: | ||
description: 'Library Name' | ||
required: true | ||
ref: | ||
description: 'Library Ref' | ||
required: true | ||
workflow_run_id: | ||
description: 'Workflow Run ID' | ||
required: true | ||
php_versions: | ||
description: 'PHP Versions' | ||
required: true | ||
vs_version: | ||
description: 'VS Versions' | ||
required: true | ||
vs_version_targets: | ||
description: 'VS Version Targets' | ||
required: true | ||
stability: | ||
description: 'Stability' | ||
required: true | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- run: | | ||
curl \ | ||
--requests POST \ | ||
--location https://downloads.php.net/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 }}" }' |