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

action fails if packer already exists on the machine #114

Open
gustavlasko opened this issue Jul 16, 2024 · 1 comment
Open

action fails if packer already exists on the machine #114

gustavlasko opened this issue Jul 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@gustavlasko
Copy link

If the setup-packer action is run and the agent already has packer installed, the step fails without providing any useful context.

Expected Behavior

I would expect the step to detect that the end result of the action has been acheived (i.e. the requested packer version is present on the agent) and the step succeeds

Current Behavior

Run hashicorp/setup-packer@v3
Installing packer:1.11.1 and adding it to GitHub Actions Path

## Steps to Reproduce

1. Create a github action that targets a runner with Packer installed
1. Call the setup-packer@v2 action
1. Execute your action

## Environment

@gustavlasko gustavlasko added the bug Something isn't working label Jul 16, 2024
@ksatirli
Copy link
Member

Hi @gustavlasko, thanks for reporting this!

Do you have a link to an Actions log where you encounter this? Alternatively, a workflow .yml would also work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants