Workflow attribute must be a path

  Kiến thức lập trình

My requirement is, I need to set it in environment variable and use it when needed.

      - name: Test-USES
        uses: $env_var
        env:
          env_var: ${{ vars.PATH }}```

But I am getting an error:

ERROR: the `uses' attribute must be a path, a Docker image, or owner/repo@ref

I’ve tried setting an environment variable but I got the same error.

2

LEAVE A COMMENT