Commit 5453b22
committed
fix(ci): Fix Homebrew cask update workflow variable passing and sed escaping
Issues fixed:
1. Move token parameter from env to checkout 'with:' section for proper auth
2. Use pipe (|) as sed delimiter instead of slash to handle URLs correctly
3. Consolidate environment variables in Update SAM cask step
4. Move DMG URL display to separate run block for clarity
5. Add explicit version output to env for commit step
These changes ensure the workflow properly:
- Authenticates with HOMEBREW_PAT token
- Correctly updates version and SHA256 without sed parsing errors
- Passes variables cleanly between steps
- Successfully commits and pushes to homebrew-SAM repository1 parent a15f0e2 commit 5453b22
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | 86 | | |
91 | 87 | | |
92 | 88 | | |
93 | 89 | | |
94 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | 106 | | |
109 | 107 | | |
110 | 108 | | |
111 | 109 | | |
112 | 110 | | |
113 | 111 | | |
| 112 | + | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments