superfly / flyctl-actions

:octocat: GitHub Action that wraps the flyctl
Apache License 2.0
260 stars 33 forks source link

setup-flyctl failed #56

Closed ThaddeusJiang closed 2 months ago

ThaddeusJiang commented 2 months ago
##[debug]Evaluating condition for step: '🎈 Setup Fly'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: 🎈 Setup Fly
##[debug]Loading inputs
##[debug]Loading env
Run superfly/flyctl-actions/setup-flyctl@master
  with:
    version: 1.5
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: 🎈 Setup Fly

image

My GitHub workflow.yml

      - name: 🎈 Setup Fly
        uses: superfly/flyctl-actions/setup-flyctl@master
        with:
          version: 1.5

      - name: 🚀 Deploy Develop
        if: ${{ github.ref == 'refs/heads/dev' }}
        run: flyctl deploy --remote-only --app rakuraku-sanpai-web-dev --wait-timeout "10m0s"
        env:
          FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jsierles commented 2 months ago

Does it work with version: v1.5?

ThaddeusJiang commented 2 months ago

@jsierles No, version: v1.5 doesn't work too.

image

ThaddeusJiang commented 2 months ago

@jsierles I have reproduced the bug. https://github.com/ThaddeusJiang/report-flyctl-github-action-bug/commit/351f1306a04f1b2a2bff8fbb61dc53a607bfefc5

ThaddeusJiang commented 2 months ago

sorry, I misunderstood.

The version is flyctl version, not setup-flyctl version.