Skip to content

Commit f246d91

Browse files
committed
ci: add workflow to trigger windows builds
1 parent fa7c67d commit f246d91

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Windows builds
2+
run-name: Windows builds for ${{ inputs.tag || github.ref_name }}
3+
permissions:
4+
actions: write
5+
contents: read
6+
on:
7+
push:
8+
tags:
9+
- 'php-*'
10+
workflow_dispatch:
11+
inputs:
12+
tag:
13+
description: 'Tag version'
14+
required: true
15+
16+
jobs:
17+
publish:
18+
runs-on: ubuntu-latest
19+
name: Build
20+
steps:
21+
- name: Build
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
run: |
25+
TAG="${{ inputs.tag || github.ref_name }}"
26+
gh workflow run php.yml -R php/php-windows-builder -f php-version="${TAG#php-}"

0 commit comments

Comments
 (0)