Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept env var in 'path' #406

Open
cliffordp opened this issue Dec 13, 2020 · 1 comment
Open

Accept env var in 'path' #406

cliffordp opened this issue Dec 13, 2020 · 1 comment

Comments

@cliffordp
Copy link

I want to pass an env var to the 'path' arg for this GitHub Action... but it does not interpret it:

image

@ericsciple
Copy link
Contributor

You may need to use a step output. There is an example here

      - name: Set selected color
        run: echo '::set-output name=SELECTED_COLOR::green'
        id: random-color-generator
      - name: Get color
        run: echo "The selected color is ${{ steps.random-color-generator.outputs.SELECTED_COLOR }}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@cliffordp @ericsciple and others