Author: Shivam Mathur (shivammathur)
Date: 2025-01-30T10:51:48+05:30
Commit: Test permissions · php/web-downloads@8ce0aec · GitHub
Raw diff: https://github.com/php/web-downloads/commit/8ce0aec1b0042df2ac817c2e4fde7d6bb0bedbb4.diff
Test permissions
Changed paths:
A .github/workflows/windows-builds.yml
Diff:
diff --git a/.github/workflows/windows-builds.yml b/.github/workflows/windows-builds.yml
new file mode 100644
index 0000000..7f89f57
--- /dev/null
+++ b/.github/workflows/windows-builds.yml
@@ -0,0 +1,26 @@
+name: Windows builds
+run-name: Windows builds for ${{ inputs.tag || github.ref_name }}
+permissions:
+ actions: write
+ contents: read
+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.GITHUB_TOKEN }}
+ run: |
+ TAG="${{ inputs.tag || github.ref_name }}"
+ gh workflow run php.yml -R php/php-windows-builder -f php-version="${TAG#php-}"