We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa7c67d commit cd47f03Copy full SHA for cd47f03
.github/workflows/windows-builds.yml
@@ -0,0 +1,29 @@
1
+name: Windows builds
2
+run-name: Windows builds for ${{ inputs.tag || github.ref_name }}
3
+permissions:
4
+ actions: write
5
+on:
6
+ push:
7
+ tags:
8
+ - 'php-*'
9
+ workflow_dispatch:
10
+ inputs:
11
+ tag:
12
+ description: 'Tag version'
13
+ required: true
14
+
15
+jobs:
16
+ publish:
17
+ runs-on: ubuntu-latest
18
+ name: Build
19
+ steps:
20
+ - name: Build
21
+ env:
22
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23
+ run: |
24
+ if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
25
+ TAG=${{ github.event.inputs.tag }}
26
+ else
27
+ TAG="${{ github.ref_name }}"
28
+ fi
29
+ gh workflow run php.yml -R php/php-windows-builder -f php-version="${TAG#php-}"
0 commit comments