Skip to content

Commit f8e39eb

Browse files
committed
Fix YAML syntax error in GitHub Actions workflow
- Replaced PowerShell here-string with echo commands - Fixed YAML parsing issues that prevented workflow execution - Workflow should now trigger properly on tag pushes and releases
1 parent 93d2ced commit f8e39eb

File tree

1 file changed

+18
-35
lines changed

1 file changed

+18
-35
lines changed

.github/workflows/build-windows-executable.yml

Lines changed: 18 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -187,41 +187,24 @@ jobs:
187187
}
188188
189189
# Create user-friendly README
190-
@"
191-
Route Planner - Portable Version
192-
================================
193-
194-
QUICK START:
195-
Double-click "RoutePlanner.exe" to start the application.
196-
197-
WHAT IS THIS?
198-
Route Planner helps you find the most efficient routes between multiple locations.
199-
Perfect for delivery drivers, sales teams, or anyone who needs to visit multiple places.
200-
201-
FEATURES:
202-
✓ Interactive map interface
203-
✓ Smart route optimization
204-
✓ Multiple algorithm options
205-
✓ Works offline after initial setup
206-
✓ No installation required
207-
208-
SYSTEM REQUIREMENTS:
209-
- Windows 7 or newer
210-
- 4GB RAM recommended
211-
- Internet connection for maps
212-
213-
TROUBLESHOOTING:
214-
If the app doesn't start:
215-
1. Right-click RoutePlanner.exe → "Run as administrator"
216-
2. Check Windows Defender isn't blocking it
217-
3. Download the latest version from GitHub
218-
219-
SUPPORT:
220-
Visit: https://github.com/yammanhammad/Route_Planner
221-
222-
LICENSE:
223-
MIT License - See LICENSE file for details.
224-
"@ | Out-File -FilePath "dist\RoutePlanner_Portable\README.txt" -Encoding UTF8
190+
echo "Route Planner - Portable Version" > "dist\RoutePlanner_Portable\README.txt"
191+
echo "================================" >> "dist\RoutePlanner_Portable\README.txt"
192+
echo "" >> "dist\RoutePlanner_Portable\README.txt"
193+
echo "QUICK START:" >> "dist\RoutePlanner_Portable\README.txt"
194+
echo "Double-click RoutePlanner.exe to start the application." >> "dist\RoutePlanner_Portable\README.txt"
195+
echo "" >> "dist\RoutePlanner_Portable\README.txt"
196+
echo "WHAT IS THIS?" >> "dist\RoutePlanner_Portable\README.txt"
197+
echo "Route Planner helps you find the most efficient routes between multiple locations." >> "dist\RoutePlanner_Portable\README.txt"
198+
echo "Perfect for delivery drivers, sales teams, or anyone who needs to visit multiple places." >> "dist\RoutePlanner_Portable\README.txt"
199+
echo "" >> "dist\RoutePlanner_Portable\README.txt"
200+
echo "FEATURES:" >> "dist\RoutePlanner_Portable\README.txt"
201+
echo "- Interactive map interface" >> "dist\RoutePlanner_Portable\README.txt"
202+
echo "- Smart route optimization" >> "dist\RoutePlanner_Portable\README.txt"
203+
echo "- Multiple algorithm options" >> "dist\RoutePlanner_Portable\README.txt"
204+
echo "- Works offline after initial setup" >> "dist\RoutePlanner_Portable\README.txt"
205+
echo "- No installation required" >> "dist\RoutePlanner_Portable\README.txt"
206+
echo "" >> "dist\RoutePlanner_Portable\README.txt"
207+
echo "SUPPORT: https://github.com/yammanhammad/Route_Planner" >> "dist\RoutePlanner_Portable\README.txt"
225208
226209
- name: Create ZIP package
227210
run: |

0 commit comments

Comments
 (0)