2 Commits

Author SHA1 Message Date
Chlod Aidan Alejandro b72522a44b Permit use of action in all other repositories (#4)
* action.yml: force use external syntax for `uses`

This forces the use of the syntax for `uses` calling a specified subfolder of a public repository at a given ref. This is an attempt at moving away from the use of `./` as a path, which forces GitHub Actions to locate the `util/post/action.yml` of the *working directory* and not of the action path. This exists since `uses` cannot take expressions; this would be an easy fix if `./` can be replaced with `${{ github.action_path }}/`. Alas, this is not possible, and this hacky workaround exists instead.

* action.yml: use `action_path` instead of `./`

This replaces the use of `./` with `${{ github.action_path }}`, to allow the install scripts to run outside the action's repository, see b1b5340 for related commit.

* action.yml: wrap pwsh argument in quotes
2022-12-23 14:59:22 +01:00
Sean OMeara d2b78ab626 puttin on the bits 2022-12-17 09:28:06 +01:00