zerotier / github-action

A Github Action for ZeroTier
https://zerotier.com
Apache License 2.0
47 stars 8 forks source link

Install seemingly fails quietly #29

Open brennanwilkes opened 2 months ago

brennanwilkes commented 2 months ago

Pretty simple,

I'm running:

      - name: ZeroTier
        uses: zerotier/github-action@v1
        with:
          network_id: ${{ secrets.ZEROTIER_NETWORK_ID }}
          auth_token: ${{ secrets.ZEROTIER_ACCESS_TOKEN }}

and seeing the following output before experiencing a crash (with zero additional information)

Run zerotier/github-action@v1
Run zerotier/github-action/util/post@main
⏁  Installing ZeroTier
brennanwilkes commented 2 months ago

Note: fails with both zerotier/github-action@v1 and zerotier/github-action@v1.0.3

brennanwilkes commented 2 months ago

Also seems to be frustratingly inconsistent. I was initially able to get past the issue by downgrading to v1.0.2, but subsequent pipeline runs failed all the same

laduke commented 2 months ago

Thanks for reporting. I'm not super familiar with the internals of this action. Will try to take a look soon.

brennanwilkes commented 2 months ago

Thanks @laduke. Apologies that I don't have more information, the crash seemingly doesn't produce logs.

Screenshot from 2024-09-10 12-18-29

2024-09-10T18:53:16.6216480Z ⏁  Installing ZeroTier
2024-09-10T18:53:16.9055188Z Post job cleanup.
2024-09-10T18:53:16.9113718Z Post job cleanup.
2024-09-10T18:53:16.9817446Z ⏁  Removing Runner from ZeroTier network
2024-09-10T18:53:17.7591245Z Success! Status code: 200
2024-09-10T18:53:17.7721890Z Post job cleanup.
axelvazq commented 1 month ago

@brennanwilkes I been using zerotier for my github actions consistent for months, zerotier install requires curl so make sure your runner has it.

   deploy:
    runs-on: ubuntu-latest
    steps:
      - name: ZeroTier
        uses: zerotier/github-action@v1.0.3
        with:
          network_id: ${{ secrets.ZEROTIER_NETWORK_ID }}
          auth_token: ${{ secrets.ZEROTIER_CENTRAL_TOKEN }}