mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
ci: add workflow to trigger windows builds
This commit is contained in:
parent
7f6c05116e
commit
f4aadb5537
1 changed files with 23 additions and 0 deletions
23
.github/workflows/windows-builds.yml
vendored
Normal file
23
.github/workflows/windows-builds.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
name: Windows builds
|
||||
run-name: Windows builds for ${{ inputs.tag || github.ref_name }}
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'php-*'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tag:
|
||||
description: 'Tag version'
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build
|
||||
steps:
|
||||
- name: Build
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.WINDOWS_BUILDS_TOKEN }}
|
||||
run: |
|
||||
TAG="${{ inputs.tag || github.ref_name }}"
|
||||
gh workflow run php.yml -R php/php-windows-builder -f php-version="${TAG#php-}"
|
Loading…
Add table
Add a link
Reference in a new issue