MingweiSamuel / lcu-schema

Script to serve LCU spec site
http://www.mingweisamuel.com/lcu-schema/
MIT License
25 stars 3 forks source link

Put installer in $RUNNER_TEMP on GitHub Actions #3

Closed mikaeldui closed 2 years ago

mikaeldui commented 2 years ago

The path to a temporary directory on the runner. This directory is emptied at the beginning and end of each job. Note that files will not be removed if the runner's user account does not have permission to delete them. - Contexts - GitHub Docs

I guess this is a better directory to put the installer in.

Also prepared for region support.

mikaeldui commented 2 years ago

Noticed the .\ in the original. Making this a draft for now.

mikaeldui commented 2 years ago

I've tested C:\something\.\other and it's the same as C:\something\other.

Switched to Join-Path for all paths.