Commit Graph
22 Commits
Author SHA1 Message Date
Sean OMearaandGitHub 76dbdc3ac3 Merge branch 'main' into move-bash-script-to-separate-files 2024-02-11 17:43:48 +01:00
Richie CahillandSean OMeara d23fa8d1aa fixing bug with uses zerotier/github-action/util/post@main 2024-02-11 17:30:44 +01:00
Sean OMearaandGitHub 70d3336b33 Merge branch 'main' into move-bash-script-to-separate-files 2024-02-11 17:30:22 +01:00
Richie CahillandSean OMeara 8b2f61715c updated to node20 2024-02-11 17:30:01 +01:00
Richie CahillandSean OMeara 5b5900023a updated check out action to v4.0.0 2024-02-11 17:30:01 +01:00
Richie Cahill 56b956bce3 moved bash script to separate files 2024-02-11 10:27:35 -05:00
Richie Cahill 1a7ba66be1 updated to node20 2024-01-30 19:49:04 -05:00
Richie Cahill bfe4efc52a updated check out action to v4.0.0 2024-01-30 19:40:36 -05:00
Sean OMearaandSean OMeara e04fdc7c60 testing ubuntu linux and windows 2023-09-29 12:17:56 +02:00
Sean OMearaandSean OMeara a3070b9ea8 testing only ubuntu 2023-09-29 12:17:56 +02:00
orensbruliandSean OMeara 43a2884a2e Avoid infinite loop while joining
Probably resolve https://github.com/zerotier/github-action/issues/9
v1.0.3
2023-09-29 11:26:44 +02:00
orensbruliandSean OMeara fd8cd0b259 Member name and description 2023-09-29 11:26:44 +02:00
Esteban Martinena GuerreroandGitHub e101c39925 Post checking status (#11)
* post checking status
* Improve output
2023-09-29 11:26:07 +02:00
Jakob BoghdadyandGitHub cb3d95d448 Update action.yml with missing application type header and verification loop (#8)
- Adding application type header for json typing
- Implementing while loop until authorization completes
v1.0.2
2023-07-10 13:15:00 +02:00
Sean OMeara cace1e426c using v1.0.1 in README v1 v1.0.1 2022-12-23 15:29:14 +01:00
Sean OMearaandGitHub 16826734a3 bug fixes (#7)
* fixing typo

* fixing typo
2022-12-23 15:27:05 +01:00
Chlod Aidan AlejandroandGitHub 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
Chlod Aidan AlejandroandGitHub 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 OMearaandGitHub 7ede239d55 tweaking README (#3) 2022-12-20 14:23:01 +01:00
Sean OMearaandGitHub c59c88058d Adding more content to README v1.0.0 2022-12-20 12:05:25 +01:00
Sean OMearaandGitHub 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