reference .ps1 file instead of writing script in before_package textbox
Hi,
Is it possible to call a .ps1 file in before_package event instead of writing script in the textbox.
When including multiple lines of powershell in a yml file, its getting very hard to read.
-
2019-04-16_12_25_38-Window.png
11.3 KB
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

1 Posted by Ilya Finkelshte... on 16 Apr, 2019 10:36 AM
Sure you can do that in both YAML or UI, whatever you use. Default folder where AppVeyor build runs (if you do not do any
CDcommands before) is root of cloned repository, so path to file should be relative with this assumption. Also you can useAPPVEYOR_BUILD_FOLDERenvironment variable while referring the.ps1file.Ilya Finkelshteyn closed this discussion on 16 Apr, 2019 10:36 AM.