github-action icon indicating copy to clipboard operation
github-action copied to clipboard

Install seemingly fails quietly

Open brennanwilkes opened this issue 1 year ago • 5 comments

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 avatar Sep 10 '24 18:09 brennanwilkes

Note: fails with both zerotier/github-action@v1 and zerotier/[email protected]

brennanwilkes avatar Sep 10 '24 18:09 brennanwilkes

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

brennanwilkes avatar Sep 10 '24 19:09 brennanwilkes

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

laduke avatar Sep 10 '24 19:09 laduke

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.

brennanwilkes avatar Sep 10 '24 19:09 brennanwilkes

@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/[email protected]
        with:
          network_id: ${{ secrets.ZEROTIER_NETWORK_ID }}
          auth_token: ${{ secrets.ZEROTIER_CENTRAL_TOKEN }}
          ```

axelvazq avatar Sep 17 '24 23:09 axelvazq