1
0
mirror of https://github.com/actions/setup-python.git synced 2025-04-08 04:09:25 +07:00
ChristopherHX 98c991d13f
Only use github.token on github.com ()
* Only use github.token on github.com

This expression evaluates to `''` if called from GHES hosted elsewhere
You can still provide your token on both github.com and GHES

* Enshure blank result of expression and not false

* Revert "Revert "Pass the `token` input through on GHES ()" ()"

This reverts commit cf86e08a31433e1dc61981fa0301f2adc9606f46.

* fix typo

* Add back the doc on the tool cache for self-hosted

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2022-08-30 15:02:20 -04:00
..