Only use github.token on github.com (#443)

* 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 (#427)" (#437)"

This reverts commit cf86e08a31.

* fix typo

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

Co-authored-by: Brian Cristante <[email protected]>
This commit is contained in:
ChristopherHX
2022-08-30 15:02:20 -04:00
committed by GitHub
co-authored by Brian Cristante
parent 397a35f988
commit 98c991d13f
4 changed files with 15 additions and 6 deletions
+10 -1
View File
File diff suppressed because one or more lines are too long