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 12d9174 commit 86ac1e7Copy full SHA for 86ac1e7
.github/workflows/split.yml
@@ -0,0 +1,26 @@
1
+name: Split Packages
2
+
3
+on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ version:
7
+ description: "New version"
8
+ required: true
9
+ packages:
10
+ description: "Packages to deploy (JSON array string)"
11
12
13
+jobs:
14
+ deploy:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: Show input
18
+ run: |
19
+ echo "Deploying version: ${{ github.event.inputs.version }}"
20
+ echo "Packages (raw): ${{ github.event.inputs.packages }}"
21
22
+ # Parse string input into array using jq
23
+ echo '${{ github.event.inputs.packages }}' | jq -r '.[]' > package-list.txt
24
25
+ echo "Package list:"
26
+ cat package-list.txt
0 commit comments