4 Commits

Author SHA1 Message Date
Sean OMeara 16826734a3 bug fixes (#7)
* fixing typo

* fixing typo
2022-12-23 15:27:05 +01:00
Chlod Aidan Alejandro efa3abecfd Add external use tests to build.yml (#5)
* make build.yml reproducible

`build.yml` is currently biased to succeed every time on this repository. Reasoning is that it will always checkout the actions' repository (which essentially transfers the actions' files to the "working directory", not the case if this action is being used externally), and it assumes that the action is run locally.

This commit breaks the build file into two parts: one that performs the current action as-is, and a new job which attempts to simulate usage from an external repository. In this job, no initial checkout is made and an immediate attempt at connecting to a ZeroTier network is made.

* trigger workflow run

* build.yml: only run test job on main

This forces the `test` job to only run if the workflow was triggered from the `main` branch. It wouldn't make sense to check if `main` works when using a different branch or tag, so this avoids doing that entirely.

`test` cannot automatically use the ref that triggered this workflow because `uses` does not take in expressions (and therefore cannot use `github.ref_name`).
2022-12-23 15:00:22 +01:00
Sean OMeara 2ab90f2d79 adding README and LICENSE (#1) 2022-12-18 14:02:22 +01:00
Sean OMeara d2b78ab626 puttin on the bits 2022-12-17 09:28:06 +01:00